git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04e4d03
)
s3/lanman: Workaround for KB932762.
author
Volker Lendecke
<vl@samba.org>
Tue, 16 Jun 2009 09:51:11 +0000
(11:51 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Sat, 27 Jun 2009 08:12:51 +0000
(10:12 +0200)
This addresses bug #6498.
source3/smbd/lanman.c
patch
|
blob
|
history
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)) {