diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-17 13:43:01 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-17 13:43:01 +0000 |
commit | f3c37f925ee06bbc76a89035b28dae0cf8c38088 (patch) | |
tree | 9536d7dd562090b0b58431cf5d4096ebca687d48 /source3/lib | |
parent | f657f37b3a346dfe7e31bd2cb3e3c32551bceadf (diff) | |
download | samba-f3c37f925ee06bbc76a89035b28dae0cf8c38088.tar.gz samba-f3c37f925ee06bbc76a89035b28dae0cf8c38088.tar.bz2 samba-f3c37f925ee06bbc76a89035b28dae0cf8c38088.zip |
smbparse.c smb.h :
uni_max_len and uni_str_len are the other way round, in UNIHDR.
util.c :
increased the show_msg() data size from 256 bytes to 512 bytes:
the LSA SAM Logon response can be about 500 bytes long.
pipenetlog.c :
forgot to set the authoritative field to 1.
(This used to be commit 71c6678cd7ffe30a5da27766cf99147e1921feae)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 0a8540b48b..a82713a0d8 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1182,9 +1182,9 @@ void show_msg(char *buf) DEBUG(5,("smb_bcc=%d\n",bcc)); if (DEBUGLEVEL < 10) return; - for (i = 0; i < MIN(bcc, 256); i += 16) + for (i = 0; i < MIN(bcc, 512); i += 16) { - for (j = 0; j < 16 && i+j < MIN(bcc,256); j++) + for (j = 0; j < 16 && i+j < MIN(bcc,512); j++) { DEBUG(10,("%2X ",CVAL(smb_buf(buf),i+j))); @@ -1193,7 +1193,7 @@ void show_msg(char *buf) } DEBUG(10,(" ")); - for (j = 0; j < 16 && i+j < MIN(bcc,256); j++) + for (j = 0; j < 16 && i+j < MIN(bcc,512); j++) { unsigned char c = CVAL(smb_buf(buf),i+j); if (c < 32 || c > 128) c = '.'; |