PR: 24450
Submitted by: Chris Knight <Christopher.D.Knight@nasa.gov>
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101714
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) Fix uninitialized gprof directory name in prefork MPM. PR 24450.
+ [Chris Knight <Christopher.D.Knight@nasa.gov>]
+
*) mod_auth_ldap: Fix some segfaults in the cache logic. PR 18756.
[Matthieu Estrade <apache@moresecurity.org>]
if(*(dir + len) == '%') {
dir[len] = '\0';
apr_snprintf(buf, sizeof(buf), "%sgprof.%d", dir, (int)getpid());
- }
+ }
+ else {
+ buf[0] = '\0';
+ }
use_dir = ap_server_root_relative(pconf, buf[0] ? buf : dir);
res = apr_dir_make(use_dir,
APR_UREAD | APR_UWRITE | APR_UEXECUTE |