[GRASS-dev] Segmentation fault i.smap

Glynn Clements glynn at gclements.plus.com
Tue Jun 29 23:26:41 EDT 2010


Markus Neteler wrote:

> The "only" thing to do seems to catch such error of "emtpy"
> signature file without crashing.

Given that write_img() will always be called, I suggest making
read_signatures() generate an error if the ClassSig field is NULL
after I_ReadSigSet() returns.

AFAICT, the same issue also applies to the "title" field.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list