[gs-bugs] [Bug 691133] invalid output/error when creating XMP metadata from UTF-16 strings

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Feb 23 09:55:10 UTC 2010


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





------- Additional Comments From ken.sharp at artifex.com  2010-02-23 01:55 -------
This was caused by the ridiculous assumption in the decode_escape routine that
octal escapes would always be terminated by a non-numeric character, and this
condition was used to terminate a loop. In fact escaped octal values should
always be three digits (or less!), and this limit is now what is used. The old
code consumed numeric values ad infinitum until a non-numeric character was
encountered.





------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the gs-bugs mailing list