Wireshark-commits: [Wireshark-commits] master 3e5ef80: tvbparse: do not increment the token length
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 3 Sep 2014 20:32:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3e5ef80b29eb8f7938e8583500671d1ea7397bdd
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3e5ef80 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    tvbparse: do not increment the token length when the new sub token length is 0
    
    It fixes the unwanted addition of ignore characters when using tvbparse_some as seen with the capture from bug 10417
    
    Change-Id: If68b587e1821fb34aa1fb56666986e1fa6385c33
    Reviewed-on: https://code.wireshark.org/review/3905
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  660da5e   RTPS: fix Result of operation is garbage or undefined
    adds  3e5ef80   tvbparse: do not increment the token length when the new sub token length is 0


Summary of changes:
 epan/tvbparse.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)