[Poppler-bugs] [Bug 105969] New: memory leak in GfxPatchMeshShading::parse

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 10 11:44:39 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105969

            Bug ID: 105969
           Summary: memory leak in GfxPatchMeshShading::parse
           Product: poppler
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: pdknsk at gmail.com

==6213==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 20480 byte(s) in 1 object(s) allocated from:
    #0 0x54f243 in malloc
llvm/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
    #1 0x5a8273 in grealloc(void*, unsigned long, bool)
poppler/goo/gmem.cc:161:9
    #2 0x5a86c1 in greallocn(void*, int, int, bool) poppler/goo/gmem.cc:240:10
    #3 0x5a8622 in greallocn poppler/goo/gmem.cc:244:10
    #4 0x6453f7 in GfxPatchMeshShading::parse(GfxResources*, int, Dict*,
Stream*, OutputDev*, GfxState*) poppler/poppler/GfxState.cc:5237:30
    #5 0x63e81b in GfxShading::parse(GfxResources*, Object*, OutputDev*,
GfxState*) poppler/poppler/GfxState.cc:3602:17
    #6 0x5e92e9 in GfxResources::lookupShading(char*, OutputDev*, GfxState*)
poppler/poppler/Gfx.cc:488:12
    #7 0x5e721e in Gfx::opShFill(Object*, int) poppler/poppler/Gfx.cc:2409:24
    #8 0x5ed205 in Gfx::execOp(Object*, Object*, int)
poppler/poppler/Gfx.cc:884:3
    #9 0x5ec399 in Gfx::go(bool) poppler/poppler/Gfx.cc:747:7
    #10 0x5ebc6c in Gfx::display(Object*, bool) poppler/poppler/Gfx.cc:709:3
    #11 0x68343c in Page::displaySlice(OutputDev*, double, double, int, bool,
bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*,
void*), void*, bool) poppler/poppler/Page.cc:560:10
    #12 0x68d6ff in PDFDoc::displayPageSlice(OutputDev*, int, double, double,
int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool
(*)(Annot*, void*), void*, bool) poppler/poppler/PDFDoc.cc:550:20
    #13 0x59b253 in poppler::page_renderer::render_page(poppler::page const*,
double, double, int, int, int, int, poppler::rotation_enum) const
poppler/cpp/poppler-page-renderer.cpp:180:13

-- 
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/20180410/61a4ce0f/attachment.html>


More information about the Poppler-bugs mailing list