| Issue 2935: | parse problem in RTP dissect_rtp_hext_rfc5215_onebyte | |
| 1 person starred this issue and may be notified of changes. | Back to list |
some commercial IPTV streamers send bogus info in the extension headers, add some sanity check to skip the erroneous bytes.
Affected Version: All versions
the following patch is able to resolve the issue and give a clean trace of the mp2t files:
sergio@MBP:~/wireshark/wireshark-1.12.0+git+4fab41a1/epan/dissectors$ diff -c packet-rtp.c.old packet-rtp.c
*** packet-rtp.c.old 2014-09-29 10:24:07.848699977 +0200
--- packet-rtp.c 2014-09-29 10:14:54.116722160 +0200
***************
*** 1832,1837 ****
--- 1832,1844 ----
return;
ext_length = (ext_hdr_hdr & 0x0F) + 1;
+
+ /* Exit on malformed extension headers */
+ if (ext_offset + ext_length + 1 > tvb_captured_length (tvb)) {
+ ext_offset = tvb_captured_length (tvb);
+ continue;
+ }
+
if (rtp_hext_tree) {
ti = proto_tree_add_text(rtp_hext_tree, tvb, ext_offset, ext_length + 1, "RFC 5285 Header Extension (One-Byte Header)");
rtp_hext_rfc5285_tree = proto_item_add_subtree( ti, ett_hdr_ext_rfc5285);
Sep 29, 2014
Project Member
#1
edwin.ke...@gmail.com
Status:
Invalid
Sep 29, 2014
sorry, my fault, i mixed the urls |
|
| ► Sign in to add a comment |