]> granicus.if.org Git - apache/commit
Security fix for CVE-2009-1890:
authorJoe Orton <jorton@apache.org>
Thu, 2 Jul 2009 13:41:18 +0000 (13:41 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 2 Jul 2009 13:41:18 +0000 (13:41 +0000)
commitb5c7491d6712fcbec142ea9d2c0a870b831d6c99
tree0bd8d9d8094dbdb56d9942c154b392ec8c965d17
parentd15e451a969a9baabb9960b74712fb3823e29f70
Security fix for CVE-2009-1890:

* modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Specify the base
  passed to apr_strtoff, and validate the Content-Length in the same
  way the HTTP_IN filter does.  If the number of bytes streamed
  exceeds the expected body length, bail out of the loop.

Thanks to: Toadie <toadie643 gmail.com> for reporting and diagnosis of
this issue.
Submitted by: niq, jorton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@790587 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/proxy/mod_proxy_http.c