Summary: | invalid output/error when creating XMP metadata from UTF-16 strings | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ken Sharp <ken.sharp> |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Customer: | 1 | Word Size: | --- |
Description
Ken Sharp
2010-02-23 01:33:45 UTC
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. Fixed in revision 10785, patch here : http://ghostscript.com/pipermail/gs-cvs/2010-February/010533.html Changing customer bugs that have been resolved more than a year ago to closed. |