[prelude-cvslog] r11125 - libprelude/trunk/src
noreply at prelude-ids.org
noreply at prelude-ids.org
Tue Apr 7 10:10:31 CEST 2009
Author: yoann
Date: 2009-04-07 10:10:31 +0200 (Tue, 07 Apr 2009)
New Revision: 11125
Modified:
libprelude/trunk/src/config-engine.c
Log:
Fix NULL pointer dereference if search_entry() is called with a
NULL index (although that never happen in the current code base).
Thanks Steve Grubb <sgrubb at redhat.com> for pointing that out.
Modified: libprelude/trunk/src/config-engine.c
===================================================================
--- libprelude/trunk/src/config-engine.c 2009-04-07 08:10:28 UTC (rev 11124)
+++ libprelude/trunk/src/config-engine.c 2009-04-07 08:10:31 UTC (rev 11125)
@@ -482,7 +482,7 @@
if ( section && ! index ) {
- i = search_section(cfg, section, *index);
+ i = search_section(cfg, section, 0);
if ( i < 0 )
return -1;
More information about the Prelude-cvslog
mailing list