mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* modules/ssl/ssl_engine_io.c (bio_filter_in_ctrl): Remove debugging
assert for unexpected control commands, matching bio_filter_out_ctrl
which also ignores such invocations. Fixes core dumps in debug
builds with OpenSSL 3.0.0 which triggers this via the
BIO_get_ktls_recv() call on the SSL bio, aka
BIO_ctrl(b, BIO_CTRL_GET_KTLS_RECV, ...);
See: 105af0ad92/ssl/record/rec_layer_s3.c (L274)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1895774 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -627,7 +627,6 @@ static long bio_filter_in_ctrl(BIO *bio, int cmd, long num, void *ptr)
|
|||||||
ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, inctx->f->c,
|
ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, inctx->f->c,
|
||||||
"BUG: bio_filter_in_ctrl() should not be called with cmd=%i",
|
"BUG: bio_filter_in_ctrl() should not be called with cmd=%i",
|
||||||
cmd);
|
cmd);
|
||||||
AP_DEBUG_ASSERT(0);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user