mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
* modules/generators/cgi_common.h (cgi_handle_request): Catch
(unlikely) apr_bucket_read() failure when reading request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874511 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -407,7 +407,10 @@ static apr_status_t cgi_handle_request(request_rec *r, apr_file_t *script_out,
|
||||
}
|
||||
|
||||
/* read */
|
||||
apr_bucket_read(bucket, &data, &len, APR_BLOCK_READ);
|
||||
rv = apr_bucket_read(bucket, &data, &len, APR_BLOCK_READ);
|
||||
if (rv) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
if (logbufbytes && dbpos < logbufbytes) {
|
||||
int cursize;
|
||||
|
||||
Reference in New Issue
Block a user