diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2017-06-07 15:21:42 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2017-06-07 15:21:42 +0300 |
commit | dec513d6e47aa883e2dbeaeb70c122e37b9abe70 (patch) | |
tree | 1e2b7908ab89e682ae5808eedd881175d9df7e2f /src/core/ngx_file.c | |
parent | 51a4a414ca051c779ac90a566bd50c0a1ecd6a40 (diff) | |
download | nginx-dec513d6e47aa883e2dbeaeb70c122e37b9abe70.tar.gz nginx-dec513d6e47aa883e2dbeaeb70c122e37b9abe70.zip |
SSI: return NGX_ERROR when timefmt memory allocation failed.
Previously, when using NGX_HTTP_SSI_ERROR, error was ignored in ssi processing,
thus timefmt could be accessed later in ngx_http_ssi_date_gmt_local_variable()
as part of "set" handler, or NULL format pointer could be passed to strftime().
Diffstat (limited to 'src/core/ngx_file.c')
0 files changed, 0 insertions, 0 deletions