Wireshark-commits: [Wireshark-commits] master-1.12 675b36d: packetbb: Fix the default value for end

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 12 Feb 2016 07:55:06 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=675b36d52b4bae2be7f1b3de3213bc4376cc6c9d
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

675b36d by Francois Schneider (francois.schneider@xxxxxxxxxx):

    packetbb: Fix the default value for end-index
    
    RFC5444 §5.4.1 specifies that for address block TLVs:
      end-index := <num-addr>-1
    when both thassingleindex and thasmultiindex = 0.
    It was incorrectly initialized to <num-addr> when <num-addr>!=0
    (i.e for address block TLVs).
    
    Change-Id: I4a78f263ffb122c0d6c0b54b4e8d1d6d525353e0
    Reviewed-on: https://code.wireshark.org/review/13911
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    (cherry picked from commit e81ea525655e3c61aaea939283f5beae64e77873)
    Reviewed-on: https://code.wireshark.org/review/13918
    

Actions performed:

    from  1327968   Adjust time stamps even if the secs value of the time stamp is 0.
    adds  675b36d   packetbb: Fix the default value for end-index


Summary of changes:
 epan/dissectors/packet-packetbb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)