Mercurial > hg > nginx
comparison src/event/ngx_event_timer.c @ 5537:49b1ad48b55c
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 23 Jan 2014 18:32:26 +0400 |
parents | 876e6b0814a5 |
children | 3377f9459e99 |
comparison
equal
deleted
inserted
replaced
5536:2a81949cbd7c | 5537:49b1ad48b55c |
---|