Wireshark-commits: [Wireshark-commits] rev 43719: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Sun, 15 Jul 2012 14:29:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43719

User: cmaynard
Date: 2012/07/15 07:29 AM

Log:
 tvb_length_remaining() can return -1, so check that it's > 0, and not != 0.  If tvb_length_remaining() is > 0, then tvb_reported_length_remaining() should also be > 0, so I don't think there's a need for further checks there.

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +1 -1      packet-json.c    Modified