[gs-bugs] [Bug 690444] x11alpha can crash system on certain ps files.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Mon Jul 5 03:08:43 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=690444

--- Comment #18 from Hin-Tak Leung <hintak at ghostscript.com> 2010-07-05 03:08:42 UTC ---
(In reply to comment #17)
> - why is "static long *x_get_win_property()" and not "static unsigned char
> *x_get_win_property()"? There is no need for the explicit cast in "return (long
> *)prop;" if that's the case. Looking this more carefully, it is because the
> long is eventually cast'ed to an int in '*pwidth = area[2]; *pheight =
> area[3];'

Please ignore this part of the comment - I forgot to delete it as I wrote
along, when I got to writing the next part about checking r_type/etc and
realise the "long" is correct as long as all the r_type/etc are checked.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list