[Bug 423470] New: syslog-ng segfaults
https://bugzilla.novell.com/show_bug.cgi?id=423470 Summary: syslog-ng segfaults Product: openSUSE 11.0 Version: Final Platform: 64bit OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kuenne@rentec.com QAContact: qa@suse.de Found By: Customer Created an attachment (id=237717) --> (https://bugzilla.novell.com/attachment.cgi?id=237717) sanitized syslog-ng.conf syslog-ng in openSUSE 11.0 segfaults on our central syslog server: syslog-ng[28405]: segfault at 4 ip 7f852642da96 sp 7fff2e43ad60 error 4 in syslog-ng[7f852641a000+27000] syslog-ng[28446]: segfault at 4 ip 7f3d672b1a96 sp 7fff6f2c0be0 error 4 in syslog-ng[7f3d6729e000+27000] syslog-ng[28503]: segfault at 4 ip 7f65c98f2a96 sp 7fffd1902220 error 4 in syslog-ng[7f65c98df000+27000] syslog-ng[28788]: segfault at 4 ip 7fa7b3583a96 sp 7fffbb592eb0 error 4 in syslog-ng[7fa7b3570000+27000] syslog-ng[28868]: segfault at 4 ip 7f9d0bdf1a96 sp 7fff13e01720 error 4 in syslog-ng[7f9d0bdde000+27000] syslog-ng[29403]: segfault at 4 ip 7f3282142a96 sp 7fff8a14fa70 error 4 in syslog-ng[7f328212f000+27000] syslog-ng[29650]: segfault at 4 ip 7fd9746f1a96 sp 7fff7c6ff0f0 error 4 in syslog-ng[7fd9746de000+27000] syslog-ng[29943]: segfault at 4 ip 7fabda2cea96 sp 7fffe22dbcd0 error 4 in syslog-ng[7fabda2bb000+27000] syslog-ng[879]: segfault at 4 ip 7f7932d2a906 sp 7fff3ad38720 error 4 in syslog-ng[7f7932d17000+27000] syslog-ng[1034]: segfault at 4 ip 7f280326f906 sp 7fff0b27ed40 error 4 in syslog-ng[7f280325c000+27000] syslog-ng[1058]: segfault at 4 ip 7f68de320906 sp 7fffe632ddf0 error 4 in syslog-ng[7f68de30d000+27000] I'll attach our sanitized syslog-ng.conf. The following small patch prevents the segfault but I'm not sure whether it's the correct fix: --- ./syslog-ng-1.6.12/src/macros.c.orig 2008-09-04 20:37:55.826929505 -0400 +++ ./syslog-ng-1.6.12/src/macros.c 2008-09-04 20:39:46.838929646 -0400 @@ -229,6 +229,7 @@ UINT8 *p2; int remaining; + if (host) { p1 = memchr(host->data, '@', host->length); if (p1) p1++; @@ -243,6 +244,7 @@ length = LIBOL_MIN(*left, (unsigned int) (host->length - (p1 - host->data))); } length = append_string(dest, left, (char *) p1, length, escape); + } break; } case M_PROGRAM: { -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=423470
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=423470
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=423470#c1
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=423470
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=423470#c2
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=423470
User lnussel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=423470#c3
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=423470
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=423470#c4
Swamp Script User
https://bugzilla.novell.com/show_bug.cgi?id=423470
User mt@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=423470#c5
Marius Tomaschewski
participants (1)
-
bugzilla_noreply@novell.com