From ea5761746b63f3ae35e13a943ac025b6458c8adf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 16 Jun 2009 11:51:11 +0200 Subject: [PATCH] s3/lanman: Workaround for KB932762. This addresses bug #6498. (cherry picked from commit a702dea5a86f22e0b7857b67447152a06b3bbea2) (cherry picked from commit aa769edfcef6937927201f765509c10b60764817) --- source/smbd/lanman.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/smbd/lanman.c b/source/smbd/lanman.c index fe1d766b9d3..5fb05de9f19 100644 --- a/source/smbd/lanman.c +++ b/source/smbd/lanman.c @@ -1214,6 +1214,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)) { -- 2.11.4.GIT