aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ip.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-11 21:44:13 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-11 21:44:13 +0000
commit0b0cb31ac4ada5e2da43f93cc87b48989af4877c (patch)
tree1d2bea5fdc263474fed7c2130fc3c7746dce8e58 /epan/dissectors/packet-ip.c
parentf2c276ec2160e98377ba5509b95125f0414c0520 (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