diff options
| author | Rob Crittenden <rcritten@redhat.com> | 2011-10-26 09:14:02 -0400 |
|---|---|---|
| committer | Rob Crittenden <rcritten@redhat.com> | 2011-10-26 09:14:02 -0400 |
| commit | a2bada01f7cab616e8e7825e0f71f8fae7b2407e (patch) | |
| tree | ce46362033ce9630093040cac680dc99594d3bc4 | |
| parent | 78fe734c6e0cbf4adf602604b3018954b259cc0f (diff) | |
| download | mod_nss-a2bada01f7cab616e8e7825e0f71f8fae7b2407e.tar.gz mod_nss-a2bada01f7cab616e8e7825e0f71f8fae7b2407e.tar.xz mod_nss-a2bada01f7cab616e8e7825e0f71f8fae7b2407e.zip | |
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
| -rw-r--r-- | nss_engine_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |
