Welcome! Log In Create A New Profile

Advanced

Segfault in ngx_http_syslog

January 29, 2013 09:10AM
Found a segfault in the ngx_http_syslog module.

I dont have the contact details for any of the ngsru team that developed it
so I am posting it in the mailing list in the hope a few are members.

Occurs when error_page is used, tested on a 504 error with config similar to

@e504 {
proxy_pass ...;
}

error_page 504 @e504;

Backtrace:
#0 0x080f2ac7 in ngx_http_syslog_error_handler (log=0x8cf4608,
p=0xbfbae8b8 "\b\353\272\277L<\265\b\346", p_len=1960)
at /var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:489
489 ngx_http_syslog_common_handler(
(gdb) backtrace full
#0 0x080f2ac7 in ngx_http_syslog_error_handler (log=0x8cf4608,
p=0xbfbae8b8 "\b\353\272\277L<\265\b\346", p_len=1960)
at /var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:489
No locals.
#1 0x080f2aea in ngx_http_syslog_error_handler (log=0x0, p=0xa <Address
0xa out of bounds>,
p_len=3206221928) at
/var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:494
No locals.
#2 0x080f2aea in ngx_http_syslog_error_handler (log=0xb7bc7380,
p=0xb7bc6ff4 "|-\024",
p_len=3206222780) at
/var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:494
No locals.
#3 0x00000000 in ?? ()
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Segfault in ngx_http_syslog

splitice 1279 January 29, 2013 09:10AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready