mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* modules/ssl/ssl_engine_io.c (ssl_io_input_read): Fix potential
infinite loop in ssl_io_input_getline if connection is aborted without inctx->rc being set. PR: 29964 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104547 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -589,6 +589,10 @@ static apr_status_t ssl_io_input_read(bio_filter_in_ctx_t *inctx,
|
||||
while (1) {
|
||||
|
||||
if (!inctx->filter_ctx->pssl) {
|
||||
/* Ensure a non-zero error code is returned */
|
||||
if (inctx->rc == APR_SUCCESS) {
|
||||
inctx->rc = APR_EGENERAL;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user