Make the NetBIOS dissecting routines all take a pointer to the beginning
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Nov 1999 07:45:42 +0000 (07:45 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Nov 1999 07:45:42 +0000 (07:45 +0000)
commitd6c7b9db8fa3b85e66cfbb34a34adf35bab9a29a
treeda072bc0de7f3978d5e823834a42d0655ae8e96d
parentcc6e0cb34ffba6ca7ed9c6957cce8a448620f044
Make the NetBIOS dissecting routines all take a pointer to the beginning
of the frame, plus at most one offset from the beginning of the frame,
to make it clearer what the offset is.

Then use that offset in at least some places to do bounds checking.

If a packet has no payload, don't hand it to the SMB dissector.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1165 f5534014-38df-0310-8fa8-9805f1628bb7
packet-nbipx.c
packet-netbios.c
packet-netbios.h