git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc16f1
)
s3: Fix a segfault with debug level 3 on Solaris
author
Volker Lendecke
<vl@samba.org>
Thu, 12 Apr 2012 10:15:50 +0000
(12:15 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 12 Apr 2012 19:49:32 +0000
(21:49 +0200)
printf can not deal with NULL strings
source3/smbd/password.c
patch
|
blob
|
history
diff --git
a/source3/smbd/password.c
b/source3/smbd/password.c
index 39cde15aafec5bfd0bc9e8dc65fb6040bcb6e016..2a76d830b50018396ad917492feb5287cf62278f 100644
(file)
--- a/
source3/smbd/password.c
+++ b/
source3/smbd/password.c
@@
-286,7
+286,8
@@
int register_existing_vuid(struct smbd_server_connection *sconn,
DEBUG(3, ("register_existing_vuid: User name: %s\t"
"Real name: %s\n", vuser->session_info->unix_info->unix_name,
- vuser->session_info->info->full_name));
+ vuser->session_info->info->full_name ?
+ vuser->session_info->info->full_name : ""));
if (!vuser->session_info->security_token) {
DEBUG(1, ("register_existing_vuid: session_info does not "