[Poppler-bugs] [Bug 54702] New: Memory leak in CharCodeToUnicode
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Sep 9 13:38:48 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=54702
Bug #: 54702
Summary: Memory leak in CharCodeToUnicode
Classification: Unclassified
Product: poppler
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: tsdgeos at terra.es
Happens at least with 68.pdf.asan.7.1030
==32010== 8 bytes in 1 blocks are definitely lost in loss record 45 of 388
==32010== at 0x4C2B6CD: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==32010== by 0x51B31D6: gmalloc(unsigned long, bool) (gmem.cc:120)
==32010== by 0x51B33FA: gmallocn(int, int, bool) (gmem.cc:212)
==32010== by 0x51B341E: gmallocn (gmem.cc:216)
==32010== by 0x51FB351: CharCodeToUnicode::addMapping(unsigned int, char*,
int, int) (CharCodeToUnicode.cc:457)
==32010== by 0x51FAB21: CharCodeToUnicode::parseCMap1(int (*)(void*), void*,
int) (CharCodeToUnicode.cc:346)
==32010== by 0x51FA750: CharCodeToUnicode::mergeCMap(GooString*, int)
(CharCodeToUnicode.cc:292)
==32010== by 0x5230C11: GfxFont::readToUnicodeCMap(Dict*, int,
CharCodeToUnicode*) (GfxFont.cc:602)
==32010== by 0x523359C: Gfx8BitFont::Gfx8BitFont(XRef*, char const*, Ref,
GooString*, GfxFontType, Ref, Dict*) (GfxFont.cc:1302)
==32010== by 0x522F67C: GfxFont::makeFont(XRef*, char const*, Ref, Dict*)
(GfxFont.cc:223)
==32010== by 0x5237912: GfxFontDict::GfxFontDict(XRef*, Ref*, Dict*)
(GfxFont.cc:2498)
==32010== by 0x5213ACC: GfxResources::GfxResources(XRef*, Dict*,
GfxResources*) (Gfx.cc:342)
Needs some investigation
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list