nginx/src
user.email c67bf9415f QUIC: improved error handling in OpenSSL compat layer.
Previously ngx_quic_compat_create_record() could try to encrypt a TLS
record even if encryption context was missing, which resulted in a NULL
pointer dereference.

The context is created by ngx_quic_compat_set_encryption_secret() called
from the OpenSSL keylog callback.  If an error occurred in that function,
the context could remain missing.  This could happen under memory pressure,
if an allocation failed inside this function.

The fix is to handle errors from ngx_quic_compat_set_encryption_secret()
and set qc->error to trigger an error after SSL_do_handshake() return.
Also, a check for context is added to ngx_quic_compat_create_record()
to avoid other similar issues.
2026-02-27 19:35:04 +04:00
..
core Resolver: fixed off-by-one read in ngx_resolver_copy(). 2026-02-23 22:12:32 +04:00
event QUIC: improved error handling in OpenSSL compat layer. 2026-02-27 19:35:04 +04:00
http Mp4: validate sync sample values in stss atom. 2026-02-23 14:10:53 +04:00
mail Mail: xtext encoding (RFC 3461) in XCLIENT LOGIN. 2025-09-26 17:04:20 +04:00
misc Cpp test: added stream. 2020-10-13 07:44:09 +03:00
os Win32: fixed C4319 warning with MSVC 2022 x86. 2025-12-24 11:41:43 -07:00
stream Add basic ECH shared-mode via OpenSSL. 2025-12-01 16:33:40 +04:00