Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 39305: /trunk/epan/dissectors/ /trun
From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Mon, 10 Oct 2011 11:13:41 +0100
This is giving me a warning

packet-sdp.c:1302  'data_tvb' might get clobbered by 'longjmp' or 'vfork'

Making 'data_tvb' volatile doesn't work as I then get warnings about discarding the volatile qualifier by passing data_tvb to the various sub-dissectors.  I've never been sure of the best way to resolve this, other than changing my compiler, which isn't an easy option right now.

Martin

On Fri, Oct 7, 2011 at 5:42 PM, <etxrab@xxxxxxxxxxxxx> wrote:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=39305

User: etxrab
Date: 2011/10/07 09:42 AM

Log:
 - Put a TRY/CATCH block around dissect_h264_nal_unit() in case
 a bogus nal unit was sent.
 - Delete an unused hf entry.

 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6407

Directory: /trunk/epan/dissectors/
 Changes    Path            Action
 +11 -7     packet-sdp.c    Modified

___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
            mailto:wireshark-commits-request@xxxxxxxxxxxxx?subject=unsubscribe