From 7e932d6a50efe3e750cc87f0729cad6ab75aad9f Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 12 Nov 2004 14:35:09 +0000 Subject: nginx-0.1.7-RELEASE import *) Bugfix: on FreeBSD the segmentation fault may occur if the size of the transferred file was changed; the bug had appeared in 0.1.5. --- src/http/modules/ngx_http_static_handler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/http/modules') diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c index 12cf5b39d..4cc0de1c2 100644 --- a/src/http/modules/ngx_http_static_handler.c +++ b/src/http/modules/ngx_http_static_handler.c @@ -530,6 +530,7 @@ static ngx_int_t ngx_http_static_handler(ngx_http_request_t *r) b->file_last = ngx_file_size(&fi); b->file->fd = fd; + b->file->name = name; b->file->log = log; out.buf = b; -- cgit