diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-16 11:51:11 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-06-27 10:12:51 +0200 |
commit | a702dea5a86f22e0b7857b67447152a06b3bbea2 (patch) | |
tree | 098918c6fb34aa5efaa5d1fecd3e635aee184126 /source3/smbd | |
parent | 04e4d03868ea67f323bf008eb7b9af740a0467ac (diff) | |
download | samba-a702dea5a86f22e0b7857b67447152a06b3bbea2.tar.gz samba-a702dea5a86f22e0b7857b67447152a06b3bbea2.tar.bz2 samba-a702dea5a86f22e0b7857b67447152a06b3bbea2.zip |
s3/lanman: Workaround for KB932762.
This addresses bug #6498.
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/lanman.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 88ac096c82..6fc72c27ea 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1215,6 +1215,7 @@ static int get_server_info(uint32 servertype, continue; } fstrcpy(s->comment, p); + string_truncate(s->comment, MAX_SERVER_STRING_LENGTH); s->domain[0] = '\0'; if (!next_token_talloc(frame,&ptr,&p, NULL)) { |