On Mon, Apr 27, 2015 at 1:16 PM, Glynn Clements <[email protected]> wrote: > But more significantly, G_message() etc use an internal buffer of 2000 > bytes. A message longer than that probably won't work and may well > cause the g.message to crash.
How about (ab)using GPATH_MAX (include/gis.h) which is 4096 chars long and using it in general/g.message/main.c as well to avoid a buffer overflow? Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
