[Gs-code-review] A fix for #516530 heap crash with OTGuide.pdf .

Igor V. Melichev igor at artifex.com
Thu Feb 14 01:58:50 PST 2002


Peter,

> From: L. Peter Deutsch [mailto:ghost at aladdin.com]
> Sent: Thursday, February 14, 2002 11:10 AM
> To: igor at artifex.com
> Cc: gs-code-review at ghostscript.com; raph at levien.com
> Subject: Re: [Gs-code-review] A fix for #516530 heap crash with
OTGuide.pdf .


>    **** File encountered an 'rangecheck' error while processing an image.

This happened before my patch, but does not happen after it.
The reason is the line 226

		gs_cspace_init_DevicePixel(pmcs, penum->mask[i].depth);

left pmcs uninitialized. penum->mask[i].depth was equal to 0xbaadf00d.

The NULL pointer is another problem, being independent on this one.

Igor.




More information about the gs-code-review mailing list