The branch, v3-3-test has been updated
       via  16e49e8be8a942aa77a013c197a20d4c0bb3875f (commit)
      from  5994c90ff8754b64a3a6658e28bd94f6a91a441b (commit)

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


- Log -----------------------------------------------------------------
commit 16e49e8be8a942aa77a013c197a20d4c0bb3875f
Author: Ted Percival <[email protected]>
Date:   Tue Feb 3 14:10:20 2009 -0800

    Probably fixes a crash during name resolution when log level >= 10
    and libc segfaults if printf is passed NULL for a "%s" arg
    (eg. Solaris).

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

Summary of changes:
 source/libsmb/namequery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libsmb/namequery.c b/source/libsmb/namequery.c
index 112df1b..dd3cd56 100644
--- a/source/libsmb/namequery.c
+++ b/source/libsmb/namequery.c
@@ -1502,7 +1502,7 @@ NTSTATUS internal_resolve_name(const char *name,
        *return_count = 0;
 
        DEBUG(10, ("internal_resolve_name: looking up %s#%x (sitename %s)\n",
-                       name, name_type, sitename ? sitename : NULL));
+                       name, name_type, sitename ? sitename : "(null)"));
 
        if (is_ipaddress(name)) {
                if ((*return_iplist = SMB_MALLOC_P(struct ip_service)) ==


-- 
Samba Shared Repository

Reply via email to