[GRASS5] [bug #2767] (grass) r.stats bug (due to recent G_store() fix?)
Glynn Clements
glynn at gclements.plus.com
Thu Dec 9 16:50:23 EST 2004
Paul Kelly via RT wrote:
> I'm not sure this line:
> if (title == NULL) title="";
> looks right.
Looks fine to me. The variable "title" will point to read-only data,
so it can only be read, not written, but that isn't an issue here.
> Perhaps try changing to
> if (title == NULL) *title="";
That's a type error, but it's also guaranteed to segfault (writing to
address zero).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list