[Poppler-bugs] [Bug 96426] New: detail::ustring_to_unicode_GooString() shouldn't treat Unicode-encoded string as a C-string
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 7 14:54:10 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96426
Bug ID: 96426
Summary: detail::ustring_to_unicode_GooString() shouldn't treat
Unicode-encoded string as a C-string
Product: poppler
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: cpp frontend
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: jakubkucharski97 at gmail.com
Right now detail::ustring_to_unicode_GooString() passes Unicode-encoded string
to GooString constructor as a C-string. When I was testing my cpp patch for Bug
36653, I discovered that it causes poppler to save an invalid (metadata object
saved after trailer dict) document after modifying metadata. Thus
detail::ustring_to_unicode_GooString() should pass len to GooString
constructor.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160607/7d4e775e/attachment.html>
More information about the Poppler-bugs
mailing list