[Remove entries to the current 2.0 section below, when backported]
+ *) mod_cache: Fix PR 15113, a core dump in cache_in_filter when
+ a redirect occurs. The code was passing a format string and
+ integer to apr_pstrcat. Changed to apr_psprintf.
+ [Paul J. Reder]
+
*) mod_mime: Workaround to prevent a segfault if r->filename=NULL
[Brian Pane]
* We include 304 Not Modified here too as this is the origin server
* telling us to serve the cached copy.
*/
- reason = apr_pstrcat(p, "Response status %d", r->status);
+ reason = apr_psprintf(p, "Response status %d", r->status);
}
else if (exps != NULL && exp == APR_DATE_BAD) {
/* if a broken Expires header is present, don't cache it */
- reason = apr_pstrcat(p, "Broken expires header %s", exp);
+ reason = apr_psprintf(p, "Broken expires header %s", exp);
}
else if (r->args && exps == NULL) {
/* if query string present but no expiration time, don't cache it