URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=eb046064ff0f064896ad60508876b8a764fbbca9
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
eb04606 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>
Actions performed:
from 528a3d3 proto: Check for empty protocol->fields
adds eb04606 imap: Give correct lineend to get_token_len()
Summary of changes:
epan/dissectors/packet-imap.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)