Wireshark-bugs: [Wireshark-bugs] [Bug 6815] New: IAX2 dissector reads past end of packet for unk

Date: Wed, 8 Feb 2012 14:07:06 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6815

           Summary: IAX2 dissector reads past end of packet for unknown
                    IEs
           Product: Wireshark
           Version: SVN
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: sean.bright@xxxxxxxxx


Build Information:
Version 1.7.1-SVN-40932 (SVN Rev 40932 from /trunk)
--
When decoding IAX2 packets, wireshark shows random garbage for any unknown IEs
at the end of the header, I assume do to reading passed the end of the allotted
buffer.

I have to admit to not being that familiar with the wireshark code, so this may
be the wrong approach, but the attached patch fixes this issue for me.

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