[GRASS-SVN] r40710 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 27 19:16:54 EST 2010
Author: glynn
Date: 2010-01-27 19:16:54 -0500 (Wed, 27 Jan 2010)
New Revision: 40710
Modified:
grass/branches/develbranch_6/lib/gis/spawn.c
Log:
Ensure environment array is NULL-terminated (back-port r40709)
Modified: grass/branches/develbranch_6/lib/gis/spawn.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/spawn.c 2010-01-28 00:16:09 UTC (rev 40709)
+++ grass/branches/develbranch_6/lib/gis/spawn.c 2010-01-28 00:16:54 UTC (rev 40710)
@@ -467,6 +467,8 @@
for (i = 0; i < num_bindings; i++)
add_binding(newenv, &n, &bindings[i]);
+ newenv[num_bindings + n] = NULL;
+
return newenv;
}
More information about the grass-commit
mailing list