diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | os/unix/unixd.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) core: Fix valgrind warning about uninitialized memory in argument to + semctl. PR 53690. [Mikhail T. <mi+apache aldan algebra com>] + *) mod_proxy_connect: Don't keepalive the connection to the client if the backend closes the connection. PR 54474. [Pavel Mateja <pavel netsafe cz>] diff --git a/os/unix/unixd.c b/os/unix/unixd.c index 2a953f0f38..a86630f39b 100644 --- a/os/unix/unixd.c +++ b/os/unix/unixd.c @@ -241,7 +241,7 @@ AP_DECLARE(apr_status_t) ap_unixd_set_proc_mutex_perms(apr_proc_mutex_t *pmutex) }; #endif union semun ick; - struct semid_ds buf; + struct semid_ds buf = { { 0 } }; apr_os_proc_mutex_get(&ospmutex, pmutex); buf.sem_perm.uid = ap_unixd_config.user_id; |