Commit Graph

9 Commits

Author SHA1 Message Date
guy
9ce2222dfe Correctly handle Unicode strings - skip padding to put them on a 2-byte
boundary, and base the Unicode-vs-non-Unicode decision on the "strings
are Unicode" bit in Flags2, except for those few strings that are always
ASCII, rather than doing a heuristic check.

Fix the padding in FindFirst2 requests.
2004-12-28 22:29:44 +00:00
itojun
111ff8a61d whitespace cleanup 2002-06-11 17:08:37 +00:00
guy
3b8eb6c730 Bill Fenner's changes to clean up the SMB dissection somewhat and to add
a lot of boundary checking.
2002-01-17 04:38:29 +00:00
fenner
c672f00276 Eliminate some unused parameters.
Use const more.
Use EXTRACT_* macros more.
Use TCHECK* more.
Use tok2str() to replace some home-grown workalikes.
smb:
 - Get rid of private types, use tcpdump-defined types
 - Rename fdata and fdata1 to smb_fdata and smb_fdata1 to avoid conflict
   with IRIX library function.
2001-09-17 21:57:50 +00:00
itojun
a1d73ea7ee more audit/style. fix a couple of signed/unsigned mixup,
printf type mismatch, as well as buffer overrun possibilities
2001-06-25 18:58:07 +00:00
itojun
d20d0466d0 strinct prototype. now we are -Wstrict-prototype clean.
couple of indent fixes (ts=8 sw=4) so that we can do
a buffer overrun audit effectively.
2001-06-25 03:07:30 +00:00
guy
4881292df0 Give a bunch of files RCS and SCCS IDs. 2000-12-17 23:07:48 +00:00
itojun
c4521bbf47 * print-rt6.c: make IPv6 routing header printing work with new 2292bis
API.
* print-bgp.c: improve options printing.  ugly code exists for
  unaligned option parsing (need some fix).
* const poisoning in SMB decoder.
* make dump format back to original.  someone may want to add an
  option to do ascii printing, but keep the default behavior as is
  for scripts used in many places.
* -Wall -Werror clean checks.
1999-12-22 06:27:19 +00:00
assar
48345fa3a4 patches from Andrew Tridgell <tridge@linuxcare.com> to add decoding of SMB packets 1999-11-21 15:57:50 +00:00