PR: 28047
Reviewed by: Brad Nicholes, Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@103494
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.50
+ *) Fix segfault in mod_expires, which occured under certain
+ circumstances. PR 28047. [André Malo]
+
*) htpasswd: use apr_temp_dir_get() and general cleanup
[Guenter Knauf <eflash gmx.net>, Thom May]
APACHE 2.0 STATUS: -*-text-*-
-Last modified at [$Date: 2004/04/24 11:28:20 $]
+Last modified at [$Date: 2004/04/24 11:43:01 $]
Release:
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/core.c?r1=1.272&r2=1.273
+1: nd (geoff)
- *) Fix segfault in mod_expires. PR 28047
- modules/metadata/mod_expires.c: r1.54
- +1: nd, bnicholes, trawick
-
*) Fix memory leak in mod_rewrite. PR 27862. (2.0 + 1.3)
http://www.apache.org/~nd/mod_rewrite_fixleak.diff
+1: nd
char *checkmime;
char *spos;
checkmime = apr_pstrdup(r->pool, r->content_type);
- spos = strchr(checkmime, '/');
+ spos = checkmime ? ap_strchr(checkmime, '/') : NULL;
if (spos != NULL) {
/*
* Without a '/' character, nothing we have will match.