[SCM] Samba Shared Repository - branch v3-0-test updated -
release-3-0-32-170-ga15c816
Karolin Seeger
kseeger at samba.org
Sat Jun 27 08:33:36 GMT 2009
The branch, v3-0-test has been updated
via a15c816ba5fd4dcedd68beb1fcb0540de325c1cb (commit)
from ccded3263ad1135cc707e24cc78d0fd95e2e88d3 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test
- Log -----------------------------------------------------------------
commit a15c816ba5fd4dcedd68beb1fcb0540de325c1cb
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 16 11:14:29 2009 +0200
Workaround for KB932762
-----------------------------------------------------------------------
Summary of changes:
source/smbd/lanman.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/smbd/lanman.c b/source/smbd/lanman.c
index abdd4e9..a4c34b6 100644
--- a/source/smbd/lanman.c
+++ b/source/smbd/lanman.c
@@ -1137,7 +1137,9 @@ static int get_server_info(uint32 servertype,
if (!next_token(&ptr,stype, NULL, sizeof(stype))) {
continue;
}
- if (!next_token(&ptr,s->comment, NULL, sizeof(s->comment))) {
+ if (!next_token(&ptr,s->comment, NULL,
+ MIN(sizeof(s->comment),
+ MAX_SERVER_STRING_LENGTH))) {
continue;
}
if (!next_token(&ptr,s->domain, NULL, sizeof(s->domain))) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list