Wireshark-commits: [Wireshark-commits] rev 51959: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Wed, 11 Sep 2013 21:44:14 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51959

User: cmaynard
Date: 2013/09/11 02:44 PM

Log:
 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.

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +7 -7      packet-http.c    Modified