Use "tvb_strsize()" rather than "tvb_strnlen()" to get the size
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 30 Jul 2001 05:20:44 +0000 (05:20 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 30 Jul 2001 05:20:44 +0000 (05:20 +0000)
commit3fa3ec3eccefa3864ff3979a1880851a0fa36048
tree5780fc237220a88e4f157ee4996dcccafd40e765
parentc80622516aa83427f697e14c18d977d750e6bcc5
Use "tvb_strsize()" rather than "tvb_strnlen()" to get the size
(including the terminating null byte) of a null-terminated string; it
includes the terminating null in the count, and throws an exception if
the string goes past the end of the tvbuff, so we don't have to do
either of those ourselves.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3797 f5534014-38df-0310-8fa8-9805f1628bb7
packet-smb-browse.c
packet-wsp.c