search for: tvb_find_line_end

Displaying 1 result from an estimated 1 matches for "tvb_find_line_end".

2008 Nov 22
0
[patch] [vuxml] net/wireshark: fix DoS in SMTP dissector
...lean is_continuation_line; + int cmdlen; + fragment_data *frag_msg = NULL; +@@ -217,21 +214,6 @@ + * longer than what's in the buffer, so the "tvb_get_ptr()" call + * won't throw an exception. + */ +- linelen = tvb_find_line_end(tvb, offset, -1, &next_offset, +- smtp_desegment && pinfo->can_desegment); +- if (linelen == -1) { +- /* +- * We didn't find a line ending, and we're doing desegmentation; +- * tell the TCP dissector where the data for this message starts +- * i...