<div dir="ltr">Found a segfault in the ngx_http_syslog module.<div><br></div><div style>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.</div>
<div style><br></div><div style>Occurs when error_page is used, tested on a 504 error with config similar to</div><div style><br></div><div style>@e504 {</div><div style>proxy_pass ...;</div><div style>}</div><div style><br>
</div><div style>error_page 504 @e504;</div><div style><br></div><div style>Backtrace:</div><div style><div>#0 0x080f2ac7 in ngx_http_syslog_error_handler (log=0x8cf4608,</div><div> p=0xbfbae8b8 "\b\353\272\277L<\265\b\346", p_len=1960)</div>
<div> at /var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:489</div><div>489 ngx_http_syslog_common_handler(</div><div>(gdb) backtrace full</div><div>#0 0x080f2ac7 in ngx_http_syslog_error_handler (log=0x8cf4608,</div>
<div> p=0xbfbae8b8 "\b\353\272\277L<\265\b\346", p_len=1960)</div><div> at /var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:489</div><div>No locals.</div><div>#1 0x080f2aea in ngx_http_syslog_error_handler (log=0x0, p=0xa <Address 0xa out of bounds>,</div>
<div> p_len=3206221928) at /var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:494</div><div>No locals.</div><div>#2 0x080f2aea in ngx_http_syslog_error_handler (log=0xb7bc7380, p=0xb7bc6ff4 "|-\024",</div>
<div> p_len=3206222780) at /var/x4b/nginx-syslog-module/ngx_http_syslog_module.c:494</div><div>No locals.</div><div>#3 0x00000000 in ?? ()</div></div></div>