• Caolán McNamara's avatar
    ofz#355: lsan detected leak · d19c05bb
    Caolán McNamara yazdı
    Direct leak of 1296 byte(s) in 6 object(s) allocated from:
        #0 0x5de7a0 in __interceptor_calloc /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:72
        #1 0xe0f2132 in hb_shape_plan_t* hb_object_create<hb_shape_plan_t>() /work/workdir/UnpackedTarball/harfbuzz/src/./hb-object-private.hh:129:24
        #2 0xe0f2132 in hb_shape_plan_create /work/workdir/UnpackedTarball/harfbuzz/src/hb-shape-plan.cc:133
        #3 0x85a3488 in CommonSalLayout::LayoutText(ImplLayoutArgs&) /src/libreoffice/vcl/source/gdi/CommonSalLayout.cxx:555:40
        #4 0x3d97cf2 in OutputDevice::ImplLayout(rtl::OUString const&, int, int, Point const&, long, long const*, SalLayoutFlags, vcl::TextLayoutCache const*) const /src/libreoffice/vcl/source/outdev/text.cxx:1318:36
        #5 0x3d990e1 in OutputDevice::GetTextArray(rtl::OUString const&, long*, int, int, vcl::TextLayoutCache const*) const /src/libreoffice/vcl/source/outdev/text.cxx:966:35
        #6 0x3d98d2d in OutputDevice::GetTextWidth(rtl::OUString const&, int, int, vcl::TextLayoutCache const*) const /src/libreoffice/vcl/source/outdev/text.cxx:893:19
        #7 0x485f630 in ImplFontMetricData::ImplInitTextLineSize(OutputDevice const*) /src/libreoffice/vcl/source/font/fontmetric.cxx:338:30
        #8 0x3d6801e in OutputDevice::ImplNewFont() const /src/libreoffice/vcl/source/outdev/font.cxx:1095:42
        #9 0x3d64d92 in OutputDevice::GetFontMetric() const /src/libreoffice/vcl/source/outdev/font.cxx:171:23
        #10 0x8695053 in WinMtfFontStyle::WinMtfFontStyle(LOGFONTW&) /src/libreoffice/vcl/source/filter/wmf/winmtf.cxx:265:36
        #11 0x8686b9b in std::__1::unique_ptr<WinMtfFontStyle, std::__1::default_delete<WinMtfFontStyle> > o3tl::make_unique<WinMtfFontStyle, LOGFONTW&>(LOGFONTW&) /src/libreoffice/include/o3tl/make_unique.hxx:27:35
        #12 0x86eb23c in WMFReader::ReadRecordParams(unsigned short) /src/libreoffice/vcl/source/filter/wmf/winwmf.cxx:937:32
        #13 0x86fb901 in WMFReader::ReadWMF() /src/libreoffice/vcl/source/filter/wmf/winwmf.cxx:1371:25
        #14 0x47c5949 in ReadWindowMetafile(SvStream&, GDIMetaFile&) /src/libreoffice/vcl/source/filter/wmf/wmf.cxx:78:45
        #15 0x61c7ac in LLVMFuzzerTestOneInput /src/libreoffice/vcl/workben/wmffuzzer.cxx:98:11
        #16 0x1011f7e8 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/libfuzzer/FuzzerLoop.cpp:541:13
        #17 0x10120544 in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long) /src/libfuzzer/FuzzerLoop.cpp:492:3
        #18 0x1013ecca in fuzzer::Fuzzer::RunOne(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&) /src/libfuzzer/FuzzerInternal.h:118:41
        #19 0x1011ee3d in fuzzer::Fuzzer::ShuffleAndMinimize(std::__1::vector<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, std::__1::allocator<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > >*) /src/libfuzzer/FuzzerLoop.cpp:471:30
        #20 0x100d0aea in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/libfuzzer/FuzzerDriver.cpp:533:6
        #21 0x100c38c8 in main /src/libfuzzer/FuzzerMain.cpp:20:10
        #22 0x7fef8459582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    
    Change-Id: Iaa23f8282a45b7c584410b5e8c7b6e9774a34aaf
    Reviewed-on: https://gerrit.libreoffice.org/32508Reviewed-by: 's avatarKhaled Hosny <khaledhosny@eglug.org>
    Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
    d19c05bb
Adı
Son kayıt (commit)
Son güncelleme
..
CommonSalLayout.cxx Loading commit data...
VerticalOrientationData.cxx Loading commit data...
alpha.cxx Loading commit data...
animate.cxx Loading commit data...
base14.cxx Loading commit data...
bitmap.cxx Loading commit data...
bitmap3.cxx Loading commit data...
bitmap4.cxx Loading commit data...
bitmapex.cxx Loading commit data...
bmpacc.cxx Loading commit data...
bmpacc2.cxx Loading commit data...
bmpacc3.cxx Loading commit data...
bmpfast.cxx Loading commit data...
configsettings.cxx Loading commit data...
cvtgrf.cxx Loading commit data...
dibtools.cxx Loading commit data...
embeddedfontshelper.cxx Loading commit data...
extoutdevdata.cxx Loading commit data...
gdimetafiletools.cxx Loading commit data...
gdimtf.cxx Loading commit data...
genVerticalOrientationData.pl Loading commit data...
gfxlink.cxx Loading commit data...
gradient.cxx Loading commit data...
graph.cxx Loading commit data...
graphictools.cxx Loading commit data...
hatch.cxx Loading commit data...
impanmvw.cxx Loading commit data...
impbmp.cxx Loading commit data...
impgraph.cxx Loading commit data...
impvect.cxx Loading commit data...
impvect.hxx Loading commit data...
jobset.cxx Loading commit data...
lineinfo.cxx Loading commit data...
mapmod.cxx Loading commit data...
metaact.cxx Loading commit data...
octree.cxx Loading commit data...
oldprintadaptor.cxx Loading commit data...
pdfextoutdevdata.cxx Loading commit data...
pdffontcache.cxx Loading commit data...
pdffontcache.hxx Loading commit data...
pdfwriter.cxx Loading commit data...
pdfwriter_impl.cxx Loading commit data...
pdfwriter_impl.hxx Loading commit data...
pdfwriter_impl2.cxx Loading commit data...
pngread.cxx Loading commit data...
pngwrite.cxx Loading commit data...
print.cxx Loading commit data...
print2.cxx Loading commit data...
print3.cxx Loading commit data...
regband.cxx Loading commit data...
region.cxx Loading commit data...
regionband.cxx Loading commit data...
salgdiimpl.cxx Loading commit data...
salgdilayout.cxx Loading commit data...
sallayout.cxx Loading commit data...
salmisc.cxx Loading commit data...
salnativewidgets-none.cxx Loading commit data...
scrptrun.cxx Loading commit data...
svgdata.cxx Loading commit data...
svmconverter.cxx Loading commit data...
textlayout.cxx Loading commit data...
virdev.cxx Loading commit data...
wall.cxx Loading commit data...