tvb_length_remaining() can return a negative number, so be sure to handle it. Fixes...
authorChris Maynard <Christopher.Maynard@GTECH.COM>
Thu, 24 May 2012 23:35:23 +0000 (23:35 -0000)
committerChris Maynard <Christopher.Maynard@GTECH.COM>
Thu, 24 May 2012 23:35:23 +0000 (23:35 -0000)
commit0c491764115161bfd8597c9bf0c9050b63493da0
tree91d45e3b44f32a347724e942a04e661a2195f3cf
parentb7e5cce7213a2652b1da716cdd7654e9b6e70154
tvb_length_remaining() can return a negative number, so be sure to handle it.  Fixes Coverity CID's 280233-280235.

svn path=/trunk/; revision=42839
asn1/snmp/packet-snmp-template.c
epan/dissectors/packet-snmp.c