[GRASS-SVN] r50181 - grass/branches/develbranch_6/raster/r.quant
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 14 19:10:30 EST 2012
Author: hamish
Date: 2012-01-14 16:10:30 -0800 (Sat, 14 Jan 2012)
New Revision: 50181
Modified:
grass/branches/develbranch_6/raster/r.quant/read_rules.c
Log:
avoid out-of-bounds buffer access (#1312)
Modified: grass/branches/develbranch_6/raster/r.quant/read_rules.c
===================================================================
--- grass/branches/develbranch_6/raster/r.quant/read_rules.c 2012-01-15 00:04:29 UTC (rev 50180)
+++ grass/branches/develbranch_6/raster/r.quant/read_rules.c 2012-01-15 00:10:30 UTC (rev 50181)
@@ -65,7 +65,7 @@
int read_rules(void)
{
- char buf[256];
+ char buf[1024];
DCELL dLow, dHigh;
CELL iLow, iHigh;
int line, n, nrules = 0;
More information about the grass-commit
mailing list