*) mod_md: a logic bug in sending long OCSP HTTP request bodies was fixed.
This did not happen in normal use as request sizes for OSCP queries
never exceed that length.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1901231 13f79535-47bb-0310-9956-
ffa450edef68
--- /dev/null
+ *) mod_md: a logic bug in sending long OCSP HTTP request bodies was fixed.
+ This did not happen in normal use as request sizes for OSCP queries
+ never exceed that length.
+ [Stefan Eissing, Ronald Crane (Zippenhop LLC)]
\ No newline at end of file
apr_bucket_brigade *body = baton;
size_t blen, read_len = 0, max_len = len * nmemb;
const char *bdata;
+ char *rdata = data;
apr_bucket *b;
apr_status_t rv;
apr_bucket_split(b, max_len);
blen = max_len;
}
- memcpy(data, bdata, blen);
+ memcpy(rdata, bdata, blen);
read_len += blen;
max_len -= blen;
+ rdata += blen;
}
else {
body = NULL;