Nginx-0.8.38 core Segmentation fault
Ranier Vilela
ranier at cultura.com.br
Fri May 28 22:25:21 MSD 2010
Hi,
ngx_sprintf does not handle "?%12s=%16s"?
Best regards,
Ranier Vilela
backtrace below:
------------------------------------------------------------------------------------------------
ngx_sprintf (buf=0x800f2d9c5 "", fmt=0x471428 "?%12s=%16s") at
src/core/ngx_string.c:101
101 {
(gdb) n
105 va_start(args, fmt);
(gdb) n
106 p = ngx_vslprintf(buf, (void *) -1, fmt, args);
(gdb) print fmt
$1 = 0x471428 "?%12s=%16s"
(gdb) n
Program received signal SIGSEGV, Segmentation fault.
ngx_vslprintf (buf=0x801300000 <Error reading address 0x801300000: Bad
address>,
last=0xffffffffffffffff <Error reading address 0xffffffffffffffff:
Bad address>, fmt=0x471431 "s",
args=0x7fffffffdf20) at src/core/ngx_string.c:252
252 *buf++ = *p++;
------------------------------------------------------------------------------------------------
More information about the nginx-devel
mailing list