[SCM] Samba Shared Repository - branch v3-0-test updated -
release-3-0-32-143-gd3220d9
Jeremy Allison
jra at samba.org
Tue Feb 3 22:24:59 GMT 2009
The branch, v3-0-test has been updated
via d3220d9d58477f2a6ef7a78c3cf05cb232b57aff (commit)
from dbfdfd047e8e69942b3289733d300d716cdbec53 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test
- Log -----------------------------------------------------------------
commit d3220d9d58477f2a6ef7a78c3cf05cb232b57aff
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 023fd3f..62cb1ba 100644
--- a/source/libsmb/namequery.c
+++ b/source/libsmb/namequery.c
@@ -1225,7 +1225,7 @@ BOOL internal_resolve_name(const char *name, int name_type,
*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 (allzeros || allones || is_address) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list