r11125 - libprelude/trunk/src
| Newsgroups | gmane.comp.security.ids.prelude.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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; _______________________________________________ Prelude-cvslog site list [email protected] http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog