[PATCH] Print "(null)" instead of passing NULL to DEBUG()

Ted Percival ted.percival at quest.com
Tue Feb 3 21:36:04 GMT 2009


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).
---
 source3/libsmb/namequery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: e8f207d19ef5ac90c0614bd7d63d576e186ed6e5.diff
Type: text/x-patch
Size: 529 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090203/03534004/e8f207d19ef5ac90c0614bd7d63d576e186ed6e5.bin


More information about the samba-technical mailing list