Ethereal-cvs: [Ethereal-cvs] rev 13770: /trunk/epan/dissectors/: packet-manolito.c

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

Date: Wed, 16 Mar 2005 18:53:51 -0000
User: guy
Date: 2005/03/16 12:53 PM

Log:
 Doing a g_assert() that can fail with data that could appear in a packet
 is wrong; cast the "guint8" value to "guint" to widen it, so that adding
 1 to it doesn't overflow.  (But I don't think that cast should be
 necessary - the "usual arithmetic conversions" in C should widen the
 value anyway.)

Directory: /trunk/epan/dissectors/
  Changes    Path                 Action
  +10 -4     packet-manolito.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=13770&view=rev