PR: 28047
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103266
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) Fix segfault in mod_expires, which occured under certain
+ circumstances. PR 28047. [André Malo]
+
*) mod_logio no longer removes the EOS bucket. PR 27928.
[Bojan Smojver <bojan rexursive.com>]
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.