ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] How to handle Ethernet frames with FCS, malformed packet in

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
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