summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_setaffinity.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
commit54316a276d4dd8efab9d4d8fe4154546e3345686 (patch)
treedcaa4a4ae91e144af082efa0a35c65e1fffde911 /src/os/unix/ngx_setaffinity.c
parent23ddf1464817e4fe1479427e9aed14c2ae64f44c (diff)
downloadnginx-54316a276d4dd8efab9d4d8fe4154546e3345686.tar.gz
nginx-54316a276d4dd8efab9d4d8fe4154546e3345686.tar.bz2
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/os/unix/ngx_setaffinity.c')
0 files changed, 0 insertions, 0 deletions