lib/replace: replace all *printf function if we replace snprintf (bug #9390)
commit05f151c041e407514c1b35619b2f2454aa4d614b
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Nov 2012 13:07:11 +0000 (13 14:07 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 15 Nov 2012 11:00:34 +0000 (15 12:00 +0100)
tree128d419c8fb7ff34b3b70469bf5cec48414459d0
parent27405fb8cfaa56f3a39cdcd2fd635fd37af629f9
lib/replace: replace all *printf function if we replace snprintf (bug #9390)

This fixes segfaults in log level = 10 on Solaris.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Jacke <bj@sernet.de>
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Wed Nov 14 19:41:14 CET 2012 on sn-devel-104
(cherry picked from commit a15da3625850d97b3da1b02308c870f820007c52)

The last 5 patches address bug #9390 - Solaris printf doesn't allow %s, NULL.
lib/replace/replace.c
lib/replace/replace.h
lib/replace/snprintf.c