[GRASS-SVN] r68321 - grass/trunk/vector/v.db.select
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 28 00:14:25 PDT 2016
Author: marisn
Date: 2016-04-28 00:14:25 -0700 (Thu, 28 Apr 2016)
New Revision: 68321
Modified:
grass/trunk/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)
Modified: grass/trunk/vector/v.db.select/main.c
===================================================================
--- grass/trunk/vector/v.db.select/main.c 2016-04-27 18:45:35 UTC (rev 68320)
+++ grass/trunk/vector/v.db.select/main.c 2016-04-28 07:14:25 UTC (rev 68321)
@@ -44,7 +44,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