Wireshark mailing list archives

Re: How to handle Ethernet frames with FCS, malformed packet in PN dissector


From: Stephen Fisher <steve () stephen-fisher com>
Date: Mon, 26 Sep 2011 15:00:06 -0600

On Mon, Sep 26, 2011 at 01:55:36PM -0700, Guy Harris wrote:

OK, done.  Try it with the current SVN version of Wireshark.

It no longer builds on Windows (not sure how it does on Unix):

c:\wireshark\plugins\profinet\packet-pn-rt.c(359) : warning C4700: 
uninitialized local variable 'tvb_len' used

tvb_len had two possible ways of being set, either directly from 
tvb_length(tvb) or tvb_length(tvb) minus some various values:

http://anonsvn.wireshark.org/viewvc/trunk/plugins/profinet/packet-pn-rt.c?r1=38810&r2=39158&pathrev=39160




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


Current thread: