[GRASS-dev] Segmentation fault i.smap

Markus Neteler neteler at osgeo.org
Wed Jun 30 03:11:22 EDT 2010


On Wed, Jun 30, 2010 at 5:26 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> 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.

Thanks for the help, fixed in
r42675, r42676, r42677.

Markus


More information about the grass-dev mailing list