Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master-2.0 f6a4591: [SMTP] Bugfix BDAT command handling

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 19 Dec 2016 14:45:49 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f6a4591dff755c1d912e867d7a9067a517502867
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

f6a4591 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
    (cherry picked from commit 10aa8e9539982cc5a834977141c4b7b9773a145f)
    Reviewed-on: https://code.wireshark.org/review/19347
    

Actions performed:

    from  75b37a5   [Automatic update for 2016-12-18]
    adds  f6a4591   [SMTP] Bugfix BDAT command handling


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