Fix the very long loop fuzz failure reported in https://bugs.wireshark.org/bugzilla...
authorJeff Morriss <jeff.morriss.ws@gmail.com>
Thu, 11 Jul 2013 14:46:30 +0000 (14:46 -0000)
committerJeff Morriss <jeff.morriss.ws@gmail.com>
Thu, 11 Jul 2013 14:46:30 +0000 (14:46 -0000)
commitb6ee11e928a3a5bd8b4518540a9da28669e56d5d
treebf5a834d09af6b2bcdf653c8d407cb81a6097017
parentc38a7508212893a03d56f8246a8a1d80b2d8acef
Fix the very long loop fuzz failure reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8923 :

Apply the fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3290
to proto_tree_add_bits_item().  That is, test that we have offset+length bytes
left in the TVB before trying to fake the item.

svn path=/trunk/; revision=50504
epan/proto.c