diff options
Diffstat (limited to 'source/smbd/lanman.c')
-rw-r--r-- | source/smbd/lanman.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/lanman.c b/source/smbd/lanman.c index 6fa4f9698d9..936a4fdb882 100644 --- 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)) { |