diff options
author | Stefan Fritsch <sf@apache.org> | 2013-02-04 21:15:10 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2013-02-04 21:15:10 +0100 |
commit | d5a372ff7823987661fe6d548cbf78c99de38db5 (patch) | |
tree | bf614f4588598538991f220d9a689e964bab30f9 /os | |
parent | Don't keepalive the connection to the client if the (diff) | |
download | apache2-d5a372ff7823987661fe6d548cbf78c99de38db5.tar.xz apache2-d5a372ff7823987661fe6d548cbf78c99de38db5.zip |
Fix valgrind warning about uninitialized memory in argument to semctl
PR: 53690
Submitted by: Mikhail T. <mi+apache aldan algebra com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442326 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r-- | os/unix/unixd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |