[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3425-g268be70
Jeremy Allison
jra at samba.org
Tue Feb 3 22:21:45 GMT 2009
The branch, v3-2-test has been updated
via 268be70cecd5025b0512372cff572095be763af1 (commit)
from 8ddb30ca90d31624ba86cd731f573aedad43face (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 268be70cecd5025b0512372cff572095be763af1
Author: Ted Percival <ted.percival at quest.com>
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
More information about the samba-cvs
mailing list