lib/replace: replace all *printf function if we replace snprintf (bug #9390)
commit3f5b4ed6bdce39f5730fd9acb69e9b03debda7be
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 12:41:54 +0000 (15 13:41 +0100)
tree89de88a381349042cac9bbe7cf44a88d9085c6a1
parentce8beb781f7456e53262bd331ab3fbb8a100356b
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)

Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Thu Nov 15 13:41:55 CET 2012 on sn-devel-104
lib/replace/replace.c
lib/replace/replace.h
lib/replace/snprintf.c