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

Wireshark-bugs: [Wireshark-bugs] [Bug 3056] New: SMTP dissector bugfixs

Date: Wed, 12 Nov 2008 22:06:00 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3056

           Summary: SMTP dissector bugfixs
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: dgautheron@xxxxxxxx



didier gautheron <dgautheron@xxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2483|                            |review_for_checkin?
               Flag|                            |


Created an attachment (id=2483)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2483)
SMTP bugfix

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Hi,
it's a multi bugs patch:

1) do more work when tree is NULL, otherwise data desegmentation doesn't work.

2) set desegment_len to DESEGMENT_ONE_MORE_SEGMENT rather than 1 when searching
for end of line.

3) set frame_data->pdu_type for STARTTLS cmd and use se_alloc0 rather than
se_alloc

4) restore pinfo can_desegment to saved_can_desegment or ssl can't desegment
packets.

5) move TLS call before searching for cmd. It doesn't deal with rejected TLS
negotation. Not hard to do but I haven't a capture, it anyone can share one.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.