diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-09-11 21:44:13 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-09-11 21:44:13 +0000 |
commit | 0b0cb31ac4ada5e2da43f93cc87b48989af4877c (patch) | |
tree | 1d2bea5fdc263474fed7c2130fc3c7746dce8e58 /epan/dissectors/packet-ip.c | |
parent | f2c276ec2160e98377ba5509b95125f0414c0520 (diff) |
Test the return value of tvb_reported_length_remaining() as > 0 rather than != 0. While in these cases, I don't see any actual bugs due to other protections, I don't think it hurts to make this change and should help avoid others from copying/pasting this code elsewhere, where similar protections may not be in place.
svn path=/trunk/; revision=51959
Diffstat (limited to 'epan/dissectors/packet-ip.c')
0 files changed, 0 insertions, 0 deletions