The branch, v3-3-test has been updated
       via  aa769edfcef6937927201f765509c10b60764817 (commit)
      from  bcb3a4746710cb4e2800010c23b6e810c78e603d (commit)

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


- Log -----------------------------------------------------------------
commit aa769edfcef6937927201f765509c10b60764817
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)

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

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 fe1d766..5fb05de 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)) {


-- 
Samba Shared Repository

Reply via email to