Ethereal-cvs: [Ethereal-cvs] rev 17528: /trunk/epan/dissectors/: packet-bgp.c

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

Date: Wed, 08 Mar 2006 11:09:03 GMT
User: sahlberg
Date: 2006/03/08 05:09 AM

Log:
 fix minor bug  coverity 74
 
 length_remaining could become -1 and if so the next tvb access (tvb_memcpy()) would cause an exception.    not really an ethereal since it would have no ill effects in reality.
 
 
 
 change !=0   to >0    to make it more clear what we actually test.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +2 -2      packet-bgp.c    Modified



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