Permalink
Browse files

fix valgrind warnings about uninitialized memory in syscall arguments

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442309 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 0aeacb0 commit 0d5525c2e2f8ed83f13f989dc634cb7c47ed429f Stefan Fritsch committed Feb 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/slotmem/mod_slotmem_shm.c
@@ -91,7 +91,7 @@ static apr_status_t unixd_set_shm_perms(const char *fname)
{
#ifdef AP_NEED_SET_MUTEX_PERMS
#if APR_USE_SHMEM_SHMGET || APR_USE_SHMEM_SHMGET_ANON
- struct shmid_ds shmbuf;
+ struct shmid_ds shmbuf = { { 0 } };
key_t shmkey;
int shmid;

0 comments on commit 0d5525c

Please sign in to comment.