Ticket #3313 (closed defect: wontfix)
GRASS driver crash after MAPSET unset
|Reported by:||rblazek||Owned by:||warmerdam|
The bug was first reported in qgis: http://trac.osgeo.org/qgis/ticket/1900
The problem is that, if MAPSET environment variable is unset by an application, the next call of IRasterIO crashes because it calls G_set_window which needs a MAPSET to find if MASK exists. There are othere similar calls.
I have written new function ResetMapset which is called before any access to data. Patch is attached, should I commit to svn?