Explorar el Código

diglib: fix buffer size

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@59962 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz hace 11 años
padre
commit
ad6583b8e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/vector/diglib/frmt.c

+ 1 - 1
lib/vector/diglib/frmt.c

@@ -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;