cpp/poppler-private.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 95d30fe3dd0cf265ccefd80d7deac00c7f430b14 Author: Jakub Kucharski <[email protected]> Date: Tue Jul 12 23:02:35 2016 +0200 cpp: pass len to GooString constructor in detail::ustring_to_unicode_GooString() Bug #96426 diff --git a/cpp/poppler-private.cpp b/cpp/poppler-private.cpp index 4362319..87aa3b4 100644 --- a/cpp/poppler-private.cpp +++ b/cpp/poppler-private.cpp @@ -112,6 +112,6 @@ GooString* detail::ustring_to_unicode_GooString(const ustring &str) ba[i * 2 + 2] = ((*me >> 8) & 0xff); ba[i * 2 + 3] = (*me & 0xff); } - GooString *goo = new GooString(&ba[0]); + GooString *goo = new GooString(&ba[0], len); return goo; } _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
