Welcome! Log In Create A New Profile

Advanced

Nginx-0.8.38 core Segmentation fault

May 28, 2010 02:22PM
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++;
------------------------------------------------------------------------------------------------

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Nginx-0.8.38 core Segmentation fault

Ranier 3782 May 28, 2010 02:22PM

Re: Nginx-0.8.38 core Segmentation fault

Maxim Dounin 1545 May 30, 2010 05:52PM



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

Online Users

Guests: 336
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