Ethereal-dev: [Ethereal-dev] Re: [Ethereal-cvs] rev 17527: /trunk/plugins/profinet/: packet-pn

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gerald Combs <gerald@xxxxxxxxxxxx>
Date: Thu, 09 Mar 2006 16:56:45 -0600
sahlberg@xxxxxxxxxxxx wrote:
> User: sahlberg
> Date: 2006/03/08 04:59 AM
> 
> Log:
>  fix coverity bug 122
> 
> Directory: /trunk/plugins/profinet/
>   Changes    Path               Action
>   +6 -4      packet-pn-dcp.c    Modified

There are a few places in the PN-DCP dissector that block_length might
be used unititialized.  Is a zero block_length value ever valid in these
cases?  If not, is it OK to throw an exception if it's zero/uninitialized?