[Pkg-fedora-ds-maintainers] [libapache2-mod-nss] 121/156: Fix static array overrun when generating arg list for nss_pcache
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Wed Jul 2 13:55:34 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to branch master
in repository libapache2-mod-nss.
commit a2bada01f7cab616e8e7825e0f71f8fae7b2407e
Author: Rob Crittenden <rcritten at redhat.com>
Date: Wed Oct 26 09:14:02 2011 -0400
Fix static array overrun when generating arg list for nss_pcache
From Coverity:
mod_nss-1.0.8/nss_engine_init.c:467: overrun-local: Overrunning static
array "child_argv", with 5 elements, at position 5 with index variable
"5".
https://bugzilla.redhat.com/show_bug.cgi?id=714154
---
nss_engine_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nss_engine_init.c b/nss_engine_init.c
index 6d69624..72eb830 100644
--- a/nss_engine_init.c
+++ b/nss_engine_init.c
@@ -429,7 +429,7 @@ int nss_init_Module(apr_pool_t *p, apr_pool_t *plog,
/* Do we need to fire up our password helper? */
if (mc->nInitCount == 1) {
- const char * child_argv[5];
+ const char * child_argv[6];
apr_status_t rv;
struct sembuf sb;
char sembuf[32];
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-fedora-ds/libapache2-mod-nss.git
More information about the Pkg-fedora-ds-maintainers
mailing list