[Compbench-devel] CompBenchmarks++/libcompbenchmarks/Plan Plan-Batch.cpp, 1.12, 1.13
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2007-09-04 16:38:18
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Plan In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv6593 Modified Files: Plan-Batch.cpp Log Message: Closes SF's TID #141670 : SEGFAULTs if invalid compiler given within a <compilers/> tag of an XML plan file. Index: Plan-Batch.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Plan/Plan-Batch.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Plan-Batch.cpp 21 Aug 2007 19:49:45 -0000 1.12 --- Plan-Batch.cpp 4 Sep 2007 16:38:14 -0000 1.13 *************** *** 188,192 **** continue; C=SC->select((char*) A->Value().c_str()); ! add(C); } delete(SC); --- 188,193 ---- continue; C=SC->select((char*) A->Value().c_str()); ! if (C) ! add(C); } delete(SC); |