mod_expires.c segfaults when parsing configuration if a line with the directive ExpiresByType is used with a mimetype which doesnt contain any slash. Bad code: check = ap_strrchr_c(mime, '/'); if ((strlen(++check) == 1) && (*check == '*')) { dir_config->wildcards = 1; } Patch submitted in attachment which returns an error message when the mimetype is supplied without slash.
Created attachment 20708 [details] Adds an error message when ExpiresByType is supplied with an invalid mimetype, avoids a segfault
Thanks for the report. Fixed in /trunk/ - r569622.
Fixed in r570093.