[syslog-ng] [Bug 127] New: 3.2.4 ose segfaults during startup

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Wed Jun 29 14:31:12 CEST 2011


https://bugzilla.balabit.com/show_bug.cgi?id=127

           Summary: 3.2.4 ose segfaults during startup
           Product: syslog-ng
           Version: 3.2.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: balazs.nemeth at balabit.com
Type of the Report: bug
   Estimated Hours: 0.0


This bugreport has been opened from an email came to info at balabit.com.

------------------------
Core was generated by `syslog-ng -d -p /var/run/syslog-ng.pid -e --enable-core -s'.

Program terminated with signal 11, Segmentation fault.

#0  0x00000031566795d0 in strcmp () from /lib64/libc.so.6
(gdb) bt
#0  0x00000031566795d0 in strcmp () from /lib64/libc.so.6
#1  0x00002b71bfe565d5 in cfg_process_flag (handlers=0x2b71c0082230, base=0x228b5f0, flag=0xffffffff <Address 0xffffffff out of bounds>) at cfg-parser.c:249
#2  0x00002b71c04a6ec6 in afsocket_parse (lexer=0x2265440, last_driver=0x7fffe7126608) at afsocket-grammar.y:864
#3  0x00002b71bfe58c67 in cfg_parser_parse (self=0x2b71c06b2760, cfg=<value optimized out>, yylloc=<value optimized out>) at cfg-parser.h:82
#4  plugin_parse_config (self=0x2b71c06b2760, cfg=<value optimized out>, yylloc=<value optimized out>) at plugin.c:124
#5  0x00002b71bfe570ae in main_parse (lexer=0x2265440, dummy=0x7fffe7128a28) at cfg-grammar.y:539
#6  0x00002b71bfe37a01 in cfg_parser_parse (self=0x22649b0, lexer=0x2265440, parser=0x2b71c00829e0, result=0x2269640) at cfg-parser.h:82
#7  cfg_run_parser (self=0x22649b0, lexer=0x2265440, parser=0x2b71c00829e0, result=0x2269640) at cfg.c:376
#8  0x00002b71bfe37b03 in cfg_read_config (self=0x22649b0, fname=0x402bb7 "/etc/syslog-ng/syslog-ng.conf", syntax_only=<value optimized out>,
    preprocess_into=0x0) at cfg.c:398
#9  0x000000000040220c in initial_init ()
#10 0x000000000040280c in main ()

(gdb) quit

This causes it:

source 32001_udp       { udp( port(32001) so_rcvbuf(12000000) flags(no_multi_line) ); };

------------------

ps.: With the given config line snippet it is easy to reproduce.
I have cc'd the original author of the email. I hope he doesn't mind it.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list