ASF Bugzilla – Attachment 19239 Details for
Bug 41143
Incorrect ap_getline assumption in mod_proxy_http
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch against the 2.2.x branch
proxy-getline-no-space.patch (text/plain), 966 bytes, created by
Davi Arnaut
on 2006-12-10 15:04:36 UTC
(
hide
)
Description:
patch against the 2.2.x branch
Filename:
MIME Type:
Creator:
Davi Arnaut
Created:
2006-12-10 15:04:36 UTC
Size:
966 bytes
patch
obsolete
>Index: 2.2.x/modules/proxy/mod_proxy_http.c >=================================================================== >--- 2.2.x.orig/modules/proxy/mod_proxy_http.c >+++ 2.2.x/modules/proxy/mod_proxy_http.c >@@ -1083,7 +1083,6 @@ static void ap_proxy_read_headers(reques > { > int len; > char *value, *end; >- char field[MAX_STRING_LEN]; > int saw_headers = 0; > void *sconf = r->server->module_config; > proxy_server_conf *psc; >@@ -1166,16 +1165,6 @@ end) > */ > process_proxy_header(r, dconf, buffer, value) ; > saw_headers = 1; >- >- /* the header was too long; at the least we should skip extra data */ >- if (len >= size - 1) { >- while ((len = ap_getline(field, MAX_STRING_LEN, rr, 1)) >- >= MAX_STRING_LEN - 1) { >- /* soak up the extra data */ >- } >- if (len == 0) /* time to exit the larger loop as well */ >- break; >- } > } > } >
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 41143
: 19239