mirror of
https://github.com/nginx/nginx.git
synced 2024-11-24 13:49:05 +08:00
nginx-0.3.25-RELEASE import
*) Bugfix: the segmentation fault was occurred on start or while reconfiguration if there was invalid configuration; the bug had appeared in 0.3.24.
This commit is contained in:
parent
988a478464
commit
57cabd6b49
@ -9,6 +9,24 @@
|
||||
<title lang="en">nginx changelog</title>
|
||||
|
||||
|
||||
<changes ver="0.3.25" date="01.02.2006">
|
||||
|
||||
<change type="bugfix">
|
||||
<para lang="ru">
|
||||
ÐÒÉ ÎÅ×ÅÒÎÏÊ ËÏÎÆÉÇÕÒÁÃÉÉ ÎÁ ÓÔÁÒÔÅ ÉÌÉ ×Ï ×ÒÅÍÑ ÐÅÒÅËÏÎÆÉÇÕÒÁÃÉÉ ÐÒÏÉÓÈÏÄÉÌ
|
||||
segmentation fault;
|
||||
ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 0.3.24.
|
||||
</para>
|
||||
<para lang="en">
|
||||
the segmentation fault was occurred on start or while reconfiguration
|
||||
if there was invalid configuration;
|
||||
bug appeared in 0.3.24.
|
||||
</para>
|
||||
</change>
|
||||
|
||||
</changes>
|
||||
|
||||
|
||||
<changes ver="0.3.24" date="01.02.2006">
|
||||
|
||||
<change type="workaround">
|
||||
|
@ -8,7 +8,7 @@
|
||||
#define _NGINX_H_INCLUDED_
|
||||
|
||||
|
||||
#define NGINX_VER "nginx/0.3.24"
|
||||
#define NGINX_VER "nginx/0.3.25"
|
||||
|
||||
#define NGINX_VAR "NGINX"
|
||||
#define NGX_OLDPID_EXT ".oldbin"
|
||||
|
@ -613,7 +613,10 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
|
||||
static void
|
||||
ngx_destroy_cycle_pools(ngx_conf_t *conf)
|
||||
{
|
||||
ngx_shm_free(&conf->cycle->shm);
|
||||
if (conf->cycle->shm.addr) {
|
||||
ngx_shm_free(&conf->cycle->shm);
|
||||
}
|
||||
|
||||
ngx_destroy_pool(conf->temp_pool);
|
||||
ngx_destroy_pool(conf->pool);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user