nginx-0.5.2

Igor Sysoev is at rambler-co.ru
Fri Dec 15 01:44:43 MSK 2006


On Thu, 14 Dec 2006, proforg wrote:

> On Dec 12, 2006, at 8:18 AM, Igor Sysoev wrote:
>
>> On Tue, 12 Dec 2006, proforg wrote:
>> 
>>> Core was generated by `nginx: worker process'.
>>> Program terminated with signal 11, Segmentation fault.
>>> #0  0x00002b3b3cccdf64 in memcpy () from /lib/libc.so.6
>>> (gdb) bt
>>> #0  0x00002b3b3cccdf64 in memcpy () from /lib/libc.so.6
>>> #1  0x0000000000427982 in ngx_http_log_variable (r=<value optimized out>, 
>>> buf=0x2b3b3db13010 "udaff.maloletka.ru HTTP/1.0\r\nUser-Agent: Mozilla/4.0 
>>> (compatible; MSIE 6.0; Windows NT 5.1; ru) Opera 8.50\r\nHost: 
>>> udaff.maloletka.ru\r\nAccept-Language: ru,en;q=0.9\r\nAccept: text/html, 
>>> application/xml;q"..., op=<value optimized out>) at 
>>> src/http/modules/ngx_http_log_module.c:455
>> 
>> fr 1
>> p *value
>
> теперь и в 0.5.3

Патч.


Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
Index: src/http/ngx_http_parse.c
===================================================================
--- src/http/ngx_http_parse.c	(revision 242)
+++ src/http/ngx_http_parse.c	(revision 243)
@@ -290,6 +290,7 @@
                 state = sw_after_slash_in_uri;
                 break;
             default:
+                r->host_end = p;
                 return NGX_HTTP_PARSE_INVALID_REQUEST;
             }
             break;


More information about the nginx-ru mailing list