rev 17528: /trunk/epan/dissectors/: packet-bgp.c

[email protected]
Newsgroups gmane.network.ethereal.cvs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.