diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-01-23 18:32:26 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-01-23 18:32:26 +0400 |
commit | 1ebb44e3e3dcc7e321819a54915e9eff2aa1aa81 (patch) | |
tree | dec3e862570aa0a1c58cf1dceb0a2c3d13a0cb71 /src/http/ngx_http_request.c | |
parent | bb40c4ed2f937ac5f2eb276954e67216cd09c473 (diff) | |
download | nginx-1ebb44e3e3dcc7e321819a54915e9eff2aa1aa81.tar.gz nginx-1ebb44e3e3dcc7e321819a54915e9eff2aa1aa81.zip |
SSL: fixed $ssl_session_id possible segfault after 97e3769637a7.
Even during execution of a request it is possible that there will be
no session available, notably in case of renegotiation. As a result
logging of $ssl_session_id in some cases caused NULL pointer dereference
after revision 97e3769637a7 (1.5.9). The check added returns an empty
string if there is no session available.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions