[gs-devel] ghostscript-8.31: missing prototype error causes core dump

Ralph Giles giles at ghostscript.com
Mon Nov 1 01:29:59 PST 2004


Nelson,

Thanks for testing. Ironically, I released 8.32 the same time I saw your
report on 8.31.

> The problem is this code in src/gs.c:
> [...]
> There is no prototype visible for gs_malloc_init(), so it gets treated
> as a 32-bit int, trimming off the top 32 bits of its actual return
> value, and because those bits are nonzero, the result is an illegal
> address passed to gs_main_alloc_instance().

This was fixed, along with some more subtle 64-bit issues in 8.32.

 -r



More information about the gs-devel mailing list