mirror of
https://github.com/nginx/nginx.git
synced 2024-12-28 09:51:04 -06:00
abe660636c
When using SMTP with SSL and resolver, read events might be enabled during address resolving, leading to duplicate ngx_mail_ssl_handshake_handler() calls if something arrives from the client, and duplicate session initialization - including starting another resolving. This can lead to a segmentation fault if the session is closed after first resolving finished. Fix is to block read events while resolving. Reported by Robert Norris, http://mailman.nginx.org/pipermail/nginx/2019-July/058204.html. |
||
---|---|---|
.. | ||
ngx_mail_auth_http_module.c | ||
ngx_mail_core_module.c | ||
ngx_mail_handler.c | ||
ngx_mail_imap_handler.c | ||
ngx_mail_imap_module.c | ||
ngx_mail_imap_module.h | ||
ngx_mail_parse.c | ||
ngx_mail_pop3_handler.c | ||
ngx_mail_pop3_module.c | ||
ngx_mail_pop3_module.h | ||
ngx_mail_proxy_module.c | ||
ngx_mail_smtp_handler.c | ||
ngx_mail_smtp_module.c | ||
ngx_mail_smtp_module.h | ||
ngx_mail_ssl_module.c | ||
ngx_mail_ssl_module.h | ||
ngx_mail.c | ||
ngx_mail.h |