Wireshark-bugs: [Wireshark-bugs] [Bug 8504] New: Problem dissecting RTP-MIDI Chapter X journals

Date: Wed, 20 Mar 2013 14:07:04 +0000
Bug ID 8504
Summary Problem dissecting RTP-MIDI Chapter X journals
Classification Unclassified
Product Wireshark
Version 1.8.5
Hardware x86
OS Mac OS X 10.5
Status UNCONFIRMED
Severity Minor
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Build Information:

--
I'm using Wireshark to debug my own MIDI controller which transmits RTP-MIDI.

If I have an RTP-MIDI packet which contains only a journal, the journal only
contains a "system journal", and the system journal only contains a "Chapter
X", then I seem to always get a malformed packet reported.

It's possible I really am generating malformed packets, but I've double-checked
RFC 6295 a few times, and I don't think so.  It's also entirely possible that
I'm the first person ever to have exercised this particular code in the
dissector.

I've just had a quick look at the RTP-MIDI dissector
(https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7897), and I *think*
that in the function decode_system_journal(), the following line may be wrong:


/* Make sanity check for consumed data vs. stated length of system journal */
if ( consumed <= sysjourlen ) {
    return -1;
}

>From the context, I think that the "<=" should be a ">=".


You are receiving this mail because:
  • You are watching all bug changes.