#800: r.random and r.reclass - buffer overflow on long mapset/map names --------------------------+------------------------------------------------- Reporter: ferrouswheel | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 6.5.0 Component: Raster | Version: svn-develbranch6 Keywords: | Platform: All Cpu: All | --------------------------+-------------------------------------------------
Comment(by hamish): Replying to [comment:9 cmbarton]: > Just discovered that this also affects r.recode. It crashes with a very > confusing buffer overflow error if the file names are too long. probably these two: {{{ recode.c: sprintf(hist.edhist[0], "recode of raster map %s", name); recode.c: sprintf(hist.datsrc_1, "raster map %s", name); }}} which has a max RECORD_LEN of 80 in grass 6. Hamish -- Ticket URL: <https://trac.osgeo.org/grass/ticket/800#comment:10> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev