Wireshark-commits: [Wireshark-commits] master-2.2 10aa8e9: [SMTP] Bugfix BDAT command handling
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 19 Dec 2016 13:22:24 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=10aa8e9539982cc5a834977141c4b7b9773a145f
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

10aa8e9 by Michael Mann (mmann78@xxxxxxxxxxxx):

    [SMTP] Bugfix BDAT command handling
    
    BDAT handling takes the whole packet to add to its count of necessary
    bytes, but wasn't updating the offset, so if a BDAT "data packet" had
    multiple CRLF segments in it, the BDAT byte counter became inaccurate.
    
    Bug: 13030
    Change-Id: Idd44ccb95a8f4710db4546a918661c63a343260c
    Reviewed-on: https://code.wireshark.org/review/19343
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit dd143ca7681e2e3150904b764027e041927dcbf2)
    Reviewed-on: https://code.wireshark.org/review/19346
    

Actions performed:

    from  d37284b   [Automatic update for 2016-12-18]
    adds  10aa8e9   [SMTP] Bugfix BDAT command handling


Summary of changes:
 epan/dissectors/packet-smtp.c |    4 ++++
 1 file changed, 4 insertions(+)