[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 <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mt@novell.com -- 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 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=423470#c1 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |security-team@suse.de Status|NEW |ASSIGNED --- Comment #1 from Marius Tomaschewski <mt@novell.com> 2008-10-02 07:23:16 MDT --- Thanks for the report! The patch looks correct for me! -- 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 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=423470#c2 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |security-team@suse.de --- Comment #2 from Marius Tomaschewski <mt@novell.com> 2008-10-02 07:26:40 MDT --- Security-Team, can you review if there are security-implications please? Package + fix is already submitted to 11.0. -- 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 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=423470#c3 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|security-team@suse.de | --- Comment #3 from Ludwig Nussel <lnussel@novell.com> 2008-10-02 07:53:35 MDT --- If I understood the problem correctly the crash is due to a configuration error? I don't think that has security implications. -- 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 User swamp@suse.com added comment https://bugzilla.novell.com/show_bug.cgi?id=423470#c4 Swamp Script User <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.0:22087 | |maint:released:10.3:22087 --- Comment #4 from Swamp Script User <swamp@suse.com> 2009-01-27 00:54:40 MST --- Update released for: syslog-ng Products: openSUSE 10.3 (i386, ppc, x86_64) openSUSE 11.0 (debug, i386, ppc, x86_64) -- 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 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=423470#c5 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Marius Tomaschewski <mt@novell.com> 2009-02-05 06:26:39 MST --- fixed and updates released -- 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.
participants (1)
-
bugzilla_noreply@novell.com