URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=671e32820ab29d41d712cc8a472eab9b672684d9
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
671e328 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
imap: Give correct lineend to get_token_len()
The return value from get_token_len() is the token length, but the
returned next_token can have a offset more than token length because
it also skip trailing blanks. Ensure we always give correct lineend.
Bug: 13466
Change-Id: I88a11b9bce02999fcf87c0d7542e56fa90aae5a0
Reviewed-on: https://code.wireshark.org/review/20451
Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
(cherry picked from commit eb046064ff0f064896ad60508876b8a764fbbca9)
Reviewed-on: https://code.wireshark.org/review/20459
Actions performed:
from 8a3a6b0 Fix issue with dissecting multiple DT1 packets in the frame
adds 671e328 imap: Give correct lineend to get_token_len()
Summary of changes:
epan/dissectors/packet-imap.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)