git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df9c7db
)
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:24:27 +0000
(10:24 +0200)
This addresses bug #6498.
(cherry picked from commit
a702dea5a86f22e0b7857b67447152a06b3bbea2
)
(cherry picked from commit
aa769edfcef6937927201f765509c10b60764817
)
source/smbd/lanman.c
patch
|
blob
|
history
diff --git
a/source/smbd/lanman.c
b/source/smbd/lanman.c
index 6fa4f9698d9611d13a070ce01bc9e5f4786f1c80..936a4fdb88252a757353c7d5925d53eaa9431272 100644
(file)
--- a/
source/smbd/lanman.c
+++ b/
source/smbd/lanman.c
@@
-1217,6
+1217,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)) {