[MOAB-dev] r4421 - MOAB/trunk/src/io

jain at mcs.anl.gov jain at mcs.anl.gov
Thu Jan 6 11:26:13 CST 2011


Author: jain
Date: 2011-01-06 11:26:13 -0600 (Thu, 06 Jan 2011)
New Revision: 4421

Modified:
   MOAB/trunk/src/io/Tqdcfr.cpp
Log:
o Increasing array size to prevent **stack smashing**


Modified: MOAB/trunk/src/io/Tqdcfr.cpp
===================================================================
--- MOAB/trunk/src/io/Tqdcfr.cpp	2011-01-06 17:03:21 UTC (rev 4420)
+++ MOAB/trunk/src/io/Tqdcfr.cpp	2011-01-06 17:26:13 UTC (rev 4421)
@@ -2280,7 +2280,7 @@
 {
   unsigned int num_read;
   std::vector<std::string> attrib_vec;
-  char temp_name[80];
+  char temp_name[1024];
   char name_tag_val[NAME_TAG_SIZE];
   std::string name_tag;
   int id = -1;








































More information about the moab-dev mailing list