aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-01-23 18:32:26 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-01-23 18:32:26 +0400
commit1ebb44e3e3dcc7e321819a54915e9eff2aa1aa81 (patch)
treedec3e862570aa0a1c58cf1dceb0a2c3d13a0cb71 /src/http/ngx_http_request.c
parentbb40c4ed2f937ac5f2eb276954e67216cd09c473 (diff)
downloadnginx-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