mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
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.