Use "tvb_offset_exists()" rather than "tvb_length_remaining()" in a loop
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Feb 2002 02:59:23 +0000 (02:59 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 2 Feb 2002 02:59:23 +0000 (02:59 +0000)
commit73c790f04a74dd0301a23b604c24f7622d6ff1a1
treef8be12fe659bafdb3e06688106af4394b78a0203
parentb62a20c406a8a73d126c767dfb91254c31fd7408
Use "tvb_offset_exists()" rather than "tvb_length_remaining()" in a loop
scanning the tvbuff.  Also use "tvb_offset_exists()" before accessing
the tvbuff in that loop; the loop is only building the Info column, so
it shouldn't throw an exception before building the list.

(XXX - it should arguably all be done in one loop, with the Info column
built on the fly.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4672 f5534014-38df-0310-8fa8-9805f1628bb7
packet-slimp3.c