git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3/lanman: Workaround for KB932762.
[ira/wip.git]
/
source3
/
smbd
/
lanman.c
diff --git
a/source3/smbd/lanman.c
b/source3/smbd/lanman.c
index 88ac096c82b546591771b80fa7ecf3bf8ca5a088..6fc72c27ea62e27a6967d296971967c8abac5b9a 100644
(file)
--- 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)) {