The branch, master has been updated
       via  189a85dd68eb6c62272e51769d842afbf8389a4f (commit)
      from  98e2fe5e6d7634aa1ecf12b1b1fb23c82b3f16c5 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 189a85dd68eb6c62272e51769d842afbf8389a4f
Author: Ted Percival <[email protected]>
Date:   Tue Feb 3 14:25:31 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:
 source3/libsmb/namequery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 0567957..ac38d40 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/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