[Pkg-samba-maint] Bug#532310: Include syslog bug fix (bug #514019) in Debian Lenny via proposed updates
Nicolas DEFFAYET
nicolas at deffayet.com
Mon Jun 8 12:48:52 UTC 2009
Package: samba
Version: 2:3.2.5-4lenny2
Severity: normal
Tags: lenny fixed-upstream patch
Please rebuild samba package with patch included in bug report #514019
for fix syslog bug.
Please include the rebuilt samba package in proposed updates for next
Lenny updated release (5.0.2).
It's very annoying to don't have working syslog option for Samba in
Debian stable. syslog permit easy remote logging and audit.
Patch included in bug report #514019
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514019):
--- samba-3.2.5.orig/source/lib/debug.c 2008-11-18 16:17:17.000000000
+0100
+++ samba-3.2.5/source/lib/debug.c 2009-02-03 10:10:22.000000000 +0100
@@ -849,7 +849,7 @@
ret = vasprintf(&msgbuf, format_str, ap);
va_end(ap);
- if (ret == -1) {
+ if (ret != -1) {
syslog(priority, "%s", msgbuf);
}
SAFE_FREE(msgbuf);
More information about the Pkg-samba-maint
mailing list