Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196924 Details for
Bug 276792
<www-servers/apache-2.2.11-r2 [apache2_modules_deflate]: DoS (CVE-2009-1891)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
apache-CVE-2009-1891.patch
apache-CVE-2009-1891.patch (text/plain), 1.02 KB, created by
Alex Legler (RETIRED)
on 2009-07-06 16:49:57 UTC
(
hide
)
Description:
apache-CVE-2009-1891.patch
Filename:
MIME Type:
Creator:
Alex Legler (RETIRED)
Created:
2009-07-06 16:49:57 UTC
Size:
1.02 KB
patch
obsolete
>--- httpd/httpd/branches/2.2.x/server/core_filters.c 2009/07/06 12:01:05 791453 >+++ httpd/httpd/branches/2.2.x/server/core_filters.c 2009/07/06 12:03:20 791454 >@@ -542,6 +542,12 @@ > apr_read_type_e eblock = APR_NONBLOCK_READ; > apr_pool_t *input_pool = b->p; > >+ /* Fail quickly if the connection has already been aborted. */ >+ if (c->aborted) { >+ apr_brigade_cleanup(b); >+ return APR_ECONNABORTED; >+ } >+ > if (ctx == NULL) { > ctx = apr_pcalloc(c->pool, sizeof(*ctx)); > net->out_ctx = ctx; >@@ -909,12 +915,9 @@ > /* No need to check for SUCCESS, we did that above. */ > if (!APR_STATUS_IS_EAGAIN(rv)) { > c->aborted = 1; >+ return APR_ECONNABORTED; > } > >- /* The client has aborted, but the request was successful. We >- * will report success, and leave it to the access and error >- * logs to note that the connection was aborted. >- */ > return APR_SUCCESS; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276792
: 196924