Make the NetBIOS dissecting routines all take a pointer to the beginning
authorGuy Harris <guy@alum.mit.edu>
Tue, 30 Nov 1999 07:45:42 +0000 (07:45 -0000)
committerGuy Harris <guy@alum.mit.edu>
Tue, 30 Nov 1999 07:45:42 +0000 (07:45 -0000)
commit7d35e30ca6e4e76e6cc49d741a35f66dab896f28
treeda072bc0de7f3978d5e823834a42d0655ae8e96d
parent9a3791699ce275a305beebfe7463b41ae8fe6cc8
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.

svn path=/trunk/; revision=1165
packet-nbipx.c
packet-netbios.c
packet-netbios.h