On Wed, 30 Nov 2005, Peter W. Draper wrote:
> Having a genuinely invalid locator caused chaos as dat1_import_loc.c tried to
> cast this to (char *) and use the memory to construct an error message. Maybe
> a better way to handle that.
I don't understand. It uses emsSetnc and that is meant to restrict the
number of characters that are stored in the token. It's readonly memory so
it shouldn't be writing in areas that are dodgy even if the pointer points
to random memory.
>
> You're right about the other two, looking closer they have a locator leak --
> the datAnnul happens in an inner loop to the locator allocation.
Have you fixed them?
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|