[GRASS-SVN] r68322 - grass/branches/releasebranch_7_0/vector/v.db.select

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 28 00:21:21 PDT 2016


Author: marisn
Date: 2016-04-28 00:21:21 -0700 (Thu, 28 Apr 2016)
New Revision: 68322

Modified:
   grass/branches/releasebranch_7_0/vector/v.db.select/main.c
Log:
v.db.select increase buffer for query to not overflow in case of large number of column names passed to it (Fixes #3006; Backport of r68321)

Modified: grass/branches/releasebranch_7_0/vector/v.db.select/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.db.select/main.c	2016-04-28 07:14:25 UTC (rev 68321)
+++ grass/branches/releasebranch_7_0/vector/v.db.select/main.c	2016-04-28 07:21:21 UTC (rev 68322)
@@ -43,7 +43,7 @@
     struct field_info *Fi;
     int ncols, col, more;
     struct Map_info Map;
-    char query[1024];
+    char query[4096];
     struct ilist *list_lines;
     char *fs, *vs;
     struct bound_box *min_box, *line_box;



More information about the grass-commit mailing list