Revision: 68884 http://sourceforge.net/p/brlcad/code/68884 Author: starseeker Date: 2016-09-21 23:54:47 +0000 (Wed, 21 Sep 2016) Log Message: ----------- Right now we only handle four columns - don't read beyond that, even if there is something there...
Modified Paths: -------------- brlcad/trunk/src/conv/dyn-g.cpp Modified: brlcad/trunk/src/conv/dyn-g.cpp =================================================================== --- brlcad/trunk/src/conv/dyn-g.cpp 2016-09-21 23:32:50 UTC (rev 68883) +++ brlcad/trunk/src/conv/dyn-g.cpp 2016-09-21 23:54:47 UTC (rev 68884) @@ -296,7 +296,7 @@ long esid = strtol(col.c_str(), &endptr, 10); es->PID = (endptr == col.c_str()) ? -1 : esid; } - if (col_cnt > 1) { + if (col_cnt > 1 && col_cnt < 6) { char *endptr; long npnt = strtol(col.c_str(), &endptr, 10); es->nodal_pnts[col_cnt-2] = (endptr == col.c_str()) ? -1 : npnt; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits