[MOAB-dev] r1522 - MOAB/trunk/tools/dagmc

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Mon Jan 14 14:53:16 CST 2008


Author: kraftche
Date: 2008-01-14 14:53:16 -0600 (Mon, 14 Jan 2008)
New Revision: 1522

Modified:
   MOAB/trunk/tools/dagmc/DagMC.hpp
Log:
fix memory corruption (array index out of bounds)

Modified: MOAB/trunk/tools/dagmc/DagMC.hpp
===================================================================
--- MOAB/trunk/tools/dagmc/DagMC.hpp	2008-01-14 19:50:39 UTC (rev 1521)
+++ MOAB/trunk/tools/dagmc/DagMC.hpp	2008-01-14 20:53:16 UTC (rev 1522)
@@ -204,7 +204,7 @@
   MBOrientedBoxTreeTool obbTree;
   MBTag obbTag, geomTag, idTag, nameTag, senseTag;
   
-  Option options[5];
+  Option options[6];
 
   char specReflectName[NAME_TAG_SIZE];
   char whiteReflectName[NAME_TAG_SIZE];




More information about the moab-dev mailing list