diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-03-08 11:09:02 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-03-08 11:09:02 +0000 |
commit | 3cd2777adc40977665328c1367775738da8b69ac (patch) | |
tree | b6cb1699f6202965ee5ddde2fb6e02494745b84b /epan/ipv4.c | |
parent | 3a92bf963c829bb3db93ecf351e15c4f91832149 (diff) | |
download | wireshark-3cd2777adc40977665328c1367775738da8b69ac.tar.gz |
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.
svn path=/trunk/; revision=17528
Diffstat (limited to 'epan/ipv4.c')
0 files changed, 0 insertions, 0 deletions