Bug 105969 - memory leak in GfxPatchMeshShading::parse
Summary: memory leak in GfxPatchMeshShading::parse
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-10 11:44 UTC by pdknsk
Modified: 2018-04-10 22:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF (367 bytes, application/pdf)
2018-04-10 11:45 UTC, pdknsk
Details

Description pdknsk 2018-04-10 11:44:39 UTC
==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
Comment 1 pdknsk 2018-04-10 11:45:42 UTC
Created attachment 138728 [details]
PDF
Comment 2 Albert Astals Cid 2018-04-10 22:45:10 UTC
Fixed, thanks for reporting


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.