[GRASS-SVN] r59961 - grass/trunk/lib/vector/diglib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 29 01:13:05 PDT 2014


Author: mmetz
Date: 2014-04-29 01:13:04 -0700 (Tue, 29 Apr 2014)
New Revision: 59961

Modified:
   grass/trunk/lib/vector/diglib/frmt.c
Log:
diglib: fix buffer size

Modified: grass/trunk/lib/vector/diglib/frmt.c
===================================================================
--- grass/trunk/lib/vector/diglib/frmt.c	2014-04-29 08:09:25 UTC (rev 59960)
+++ grass/trunk/lib/vector/diglib/frmt.c	2014-04-29 08:13:04 UTC (rev 59961)
@@ -31,7 +31,7 @@
 */
 int dig_read_frmt_ascii(FILE * dascii, struct Format_info *finfo)
 {
-    char buff[20001], buf1[1024];
+    char buff[2001], buf1[2001];
     char *ptr;
     int frmt = -1;
 



More information about the grass-commit mailing list