[GRASS-SVN] r58481 - grass/branches/releasebranch_6_4/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 17 07:30:27 PST 2013


Author: annakrat
Date: 2013-12-17 07:30:27 -0800 (Tue, 17 Dec 2013)
New Revision: 58481

Modified:
   grass/branches/releasebranch_6_4/lib/ogsf/gvld.c
Log:
ogsf: change field size to prevent crash (merged from trunk, r57620), see #1736

Modified: grass/branches/releasebranch_6_4/lib/ogsf/gvld.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/ogsf/gvld.c	2013-12-17 15:25:50 UTC (rev 58480)
+++ grass/branches/releasebranch_6_4/lib/ogsf/gvld.c	2013-12-17 15:30:27 UTC (rev 58481)
@@ -108,7 +108,7 @@
     unsigned int *ktrans, *curcolor;
     int pktransp = 0;
 
-    int *pos, *nz, *e_dl, tmp_pos, edge_pos[12];
+    int *pos, *nz, *e_dl, tmp_pos, edge_pos[13];
 
     GLdouble modelMatrix[16], projMatrix[16];
     GLint viewport[4];



More information about the grass-commit mailing list