The branch, v3-2-test has been updated
       via  471f905f788209d0e76ca2d327d30f830ce4648c (commit)
      from  df9c7dba85859bdafb7265b24275ed3ac6d4957d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 471f905f788209d0e76ca2d327d30f830ce4648c
Author: Volker Lendecke <v...@samba.org>
Date:   Tue Jun 16 11:51:11 2009 +0200

    s3/lanman: Workaround for KB932762.
    
    This addresses bug #6498.
    (cherry picked from commit a702dea5a86f22e0b7857b67447152a06b3bbea2)
    (cherry picked from commit aa769edfcef6937927201f765509c10b60764817)

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/lanman.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/lanman.c b/source/smbd/lanman.c
index 6fa4f96..936a4fd 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)) {


-- 
Samba Shared Repository

Reply via email to