Nginx bug?

Ranier VF ranier_gyn at hotmail.com
Tue Jun 7 20:15:09 UTC 2016


Hi,
nginx-1.10, windows build.
msvc 2010

where full_name is u_char [64]
    b->last = ngx_sprintf(b->last, "{\"uid\": \"%u\", \"full_name\": \"%s\"}", uid, full_name);

This crash in ngx_string.c (line 257)
            case 's':
                p = va_arg(args, u_char *);

                if (slen == (size_t) -1) {
                    while (*p && buf < last) {
                        *buf++ = *p++;   // <-- CRASH MSVC 2010

Anyone, can help with this?

Thanks a lot.

Ranier

 
	
      
		Livre de vírus. www.avast.com. 		
	

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160607/7c8b1b7b/attachment.html>


More information about the nginx-devel mailing list