Skip to content
Memory corruption Disclosed report

Heap-use-after-free in GlyphBufferAzure::Flush

Abhishek Arya Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 48 hours
  • Paid in 29 days
  • Disclosed after 48 hours

Testcase.html (Place testcase in layout/reftests/text-svgglyphs directory).

<style>@font-face { font-family: foo; src: url(resources/svg-glyph-extents.otf) } body:not([autocomplete]) { font-family: foo </style>

EU

Crash stack:: ==19988==ERROR: AddressSanitizer: heap-use-after-free on address 0x60d0002f80f0 at pc 0x7faea2c2678a bp 0x7fff55fde670 sp 0x7fff55fde668 READ of size 8 at 0x60d0002f80f0 thread T0 #0 0x7faea2c26789 in GlyphBufferAzure::Flush(bool) gfx/thebes/gfxSVGGlyphs.h:203:16 #1 0x7faea2bf3560 in gfxFont::DrawGlyphs(gfxShapedText*, unsigned int, unsigned int, gfxPoint*, TextRunDrawParams const&, FontDrawParams const&) gfx/thebes/gfxFont.cpp:3102:9 #2 0x7faea2bf4bc6 in gfxFont::Draw(gfxTextRun*, unsigned int, unsigned int, gfxPoint*, TextRunDrawParams&) gfx/thebes/gfxFont.cpp:3517:9 #3 0x7faea2c126b7 in gfxTextRun::DrawGlyphs(gfxFont*, unsigned int, unsigned int, gfxPoint*, gfxTextRun::PropertyProvider*, unsigned int, unsigned int, TextRunDrawParams&) gfx/thebes/gfxFont.cpp:6929:5 #4 0x7faea2c13e31 in gfxTextRun::Draw(gfxContext*, gfxPoint, DrawMode, unsigned int, unsigned int, gfxTextRun::PropertyProvider*, double*, gfxTextContextPaint*, gfxTextRunDrawCallbacks*) gfx/thebes/gfxFont.cpp:7149:9 #5 0x7faea6693e4d in DrawTextRun(gfxTextRun*, gfxContext*, gfxPoint const&, unsigned int, unsigned int, PropertyProvider*, unsigned int, double*, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5968:5 #6 0x7faea66938ae in nsTextFrame::DrawTextRun(gfxContext*, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, unsigned int, double&, bool, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5984:3 #7 0x7faea668c62e in nsTextFrame::DrawText(gfxContext*, gfxRect const&, gfxPoint const&, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, nsTextPaintStyle const&, unsigned int, nsCharClipDisplayItem::ClipEdges const&, double&, bool, unsigned int const*, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:6135:5 #8 0x7faea6684586 in nsTextFrame::PaintText(nsRenderingContext*, nsPoint, nsRect const&, nsCharClipDisplayItem const&, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5942:3 #9 0x7faea6682df3 in nsDisplayText::Paint(nsDisplayListBuilder*, nsRenderingContext*) layout/generic/nsTextFrame.cpp:4550:3 #10 0x7faea62f3dae in mozilla::FrameLayerBuilder::PaintItems(nsTArraymozilla::FrameLayerBuilder::ClippedDisplayItem&, nsIntRect const&, gfxContext*, nsRenderingContext*, nsDisplayListBuilder*, nsPresContext*, nsIntPoint const&, float, float, int) layout/base/FrameLayerBuilder.cpp:4192:9 #11 0x7faea62f5f34 in mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*) layout/base/FrameLayerBuilder.cpp:4351:5 #12 0x7faea2a77f07 in mozilla::layers::BasicThebesLayer::PaintBuffer(gfxContext*, nsIntRegion const&, nsIntRegion const&, nsIntRegion const&, bool, mozilla::layers::DrawRegionClip, void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicThebesLayer.h:116:5 #13 0x7faea2a74718 in mozilla::layers::BasicThebesLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicThebesLayer.cpp:184:5 #14 0x7faea2a65f6d in non-virtual thunk to mozilla::layers::BasicContainerLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicContainerLayer.cpp:128:5 #15 0x7faea2a65f6d in non-virtual thunk to mozilla::layers::BasicContainerLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicContainerLayer.cpp:128:5 #16 0x7faea2a695c3 in mozilla::layers::BasicLayerManager::EndTransactionInternal(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) gfx/layers/basic/BasicLayerManager.cpp:501:5 #17 0x7faea63f46d0 in nsDisplayList::PaintForFrame(nsDisplayListBuilder*, nsRenderingContext*, nsIFrame*, unsigned int) layout/base/nsDisplayList.cpp:1326:3 #18 0x7faea63f307e in nsDisplayList::PaintRoot(nsDisplayListBuilder*, nsRenderingContext*, unsigned int) layout/base/nsDisplayList.cpp:1174:3 #19 0x7faea6449dc3 in nsLayoutUtils::PaintFrame(nsRenderingContext*, nsIFrame*, nsRegion const&, unsigned int, unsigned int) layout/base/nsLayoutUtils.cpp:3060:3 #20 0x7faea628e576 in PresShell::Paint(nsView*, nsRegion const&, unsigned int) layout/base/nsPresShell.cpp:6236:5 #21 0x7faea4b286c0 in nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) view/src/nsViewManager.cpp:443:7 #22 0x7faea4b2800e in nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) view/src/nsViewManager.cpp:384:9 #23 0x7faea62b3056 in nsRefreshDriver::Tick(long, mozilla::TimeStamp) layout/base/nsRefreshDriver.cpp:1278:5 #24 0x7faea62b8705 in mozilla::RefreshDriverTimer::Tick() layout/base/nsRefreshDriver.cpp:171:5 #25 0x7faea0ec561f in nsTimerImpl::Fire() xpcom/threads/nsTimerImpl.cpp:618:7 #26 0x7faea0ec5d81 in nsTimerEvent::Run() xpcom/threads/nsTimerImpl.cpp:711:3 #27 0x7faea0ebcdd0 in nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp:770:7 #28 0x7faea0f13aaa in NS_ProcessNextEvent(nsIThread*, bool) xpcom/glue/nsThreadUtils.cpp:265:10 #29 0x7faea17dc613 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) ipc/glue/MessagePump.cpp:99:21 #30 0x7faea174ac31 in MessageLoop::Run() ipc/chromium/src/base/message_loop.cc:229:3 #31 0x7faea4b5d297 in nsBaseAppShell::Run() widget/xpwidgets/nsBaseAppShell.cpp:164:3 #32 0x7faea7188894 in nsAppStartup::Run() toolkit/components/startup/nsAppStartup.cpp:278:19 #33 0x7faea6f6e5a0 in XREMain::XRE_mainRun() toolkit/xre/nsAppRunner.cpp:4013:10 #34 0x7faea6f6f3ad in XREMain::XRE_main(int, char**, nsXREAppData const*) toolkit/xre/nsAppRunner.cpp:4084:8 #35 0x7faea6f7019c in XRE_main toolkit/xre/nsAppRunner.cpp:4298:16 #36 0x4bd530 in main browser/app/nsBrowserApp.cpp:282:12 #37 0x7faeb0b4cde4 in __libc_start_main /build/buildd/eglibc-2.17/csu/libc-start.c:260 0x60d0002f80f0 is located 0 bytes inside of 144-byte region [0x60d0002f80f0,0x60d0002f8180) freed by thread T0 here: #0 0x49c981 in __interceptor_free asan_rtl #1 0x7faea2bf4d16 in gfxFont::Draw(gfxTextRun*, unsigned int, unsigned int, gfxPoint*, TextRunDrawParams&) objdir-ff-asan/gfx/thebes/../../dist/include/nsAutoPtr.h:73:5 #2 0x7faea2c126b7 in gfxTextRun::DrawGlyphs(gfxFont*, unsigned int, unsigned int, gfxPoint*, gfxTextRun::PropertyProvider*, unsigned int, unsigned int, TextRunDrawParams&) gfx/thebes/gfxFont.cpp:6929:5 #3 0x7faea2c13e31 in gfxTextRun::Draw(gfxContext*, gfxPoint, DrawMode, unsigned int, unsigned int, gfxTextRun::PropertyProvider*, double*, gfxTextContextPaint*, gfxTextRunDrawCallbacks*) gfx/thebes/gfxFont.cpp:7149:9 #4 0x7faea6693e4d in DrawTextRun(gfxTextRun*, gfxContext*, gfxPoint const&, unsigned int, unsigned int, PropertyProvider*, unsigned int, double*, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5968:5 #5 0x7faea66938ae in nsTextFrame::DrawTextRun(gfxContext*, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, unsigned int, double&, bool, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5984:3 #6 0x7faea668c62e in nsTextFrame::DrawText(gfxContext*, gfxRect const&, gfxPoint const&, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, nsTextPaintStyle const&, unsigned int, nsCharClipDisplayItem::ClipEdges const&, double&, bool, unsigned int const*, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:6135:5 #7 0x7faea6684586 in nsTextFrame::PaintText(nsRenderingContext*, nsPoint, nsRect const&, nsCharClipDisplayItem const&, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5942:3 #8 0x7faea6682df3 in nsDisplayText::Paint(nsDisplayListBuilder*, nsRenderingContext*) layout/generic/nsTextFrame.cpp:4550:3 #9 0x7faea62f3dae in mozilla::FrameLayerBuilder::PaintItems(nsTArraymozilla::FrameLayerBuilder::ClippedDisplayItem&, nsIntRect const&, gfxContext*, nsRenderingContext*, nsDisplayListBuilder*, nsPresContext*, nsIntPoint const&, float, float, int) layout/base/FrameLayerBuilder.cpp:4192:9 #10 0x7faea62f5f34 in mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*) layout/base/FrameLayerBuilder.cpp:4351:5 #11 0x7faea2a77f07 in mozilla::layers::BasicThebesLayer::PaintBuffer(gfxContext*, nsIntRegion const&, nsIntRegion const&, nsIntRegion const&, bool, mozilla::layers::DrawRegionClip, void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicThebesLayer.h:116:5 #12 0x7faea2a74718 in mozilla::layers::BasicThebesLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicThebesLayer.cpp:184:5 #13 0x7faea2a65f6d in non-virtual thunk to mozilla::layers::BasicContainerLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicContainerLayer.cpp:128:5 #14 0x7faea2a65f6d in non-virtual thunk to mozilla::layers::BasicContainerLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicContainerLayer.cpp:128:5 #15 0x7faea2a695c3 in mozilla::layers::BasicLayerManager::EndTransactionInternal(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) gfx/layers/basic/BasicLayerManager.cpp:501:5 #16 0x7faea63f46d0 in nsDisplayList::PaintForFrame(nsDisplayListBuilder*, nsRenderingContext*, nsIFrame*, unsigned int) layout/base/nsDisplayList.cpp:1326:3 #17 0x7faea63f307e in nsDisplayList::PaintRoot(nsDisplayListBuilder*, nsRenderingContext*, unsigned int) layout/base/nsDisplayList.cpp:1174:3 #18 0x7faea6449dc3 in nsLayoutUtils::PaintFrame(nsRenderingContext*, nsIFrame*, nsRegion const&, unsigned int, unsigned int) layout/base/nsLayoutUtils.cpp:3060:3 #19 0x7faea628e576 in PresShell::Paint(nsView*, nsRegion const&, unsigned int) layout/base/nsPresShell.cpp:6236:5 #20 0x7faea4b286c0 in nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) view/src/nsViewManager.cpp:443:7 #21 0x7faea4b2800e in nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) view/src/nsViewManager.cpp:384:9 #22 0x7faea62b3056 in nsRefreshDriver::Tick(long, mozilla::TimeStamp) layout/base/nsRefreshDriver.cpp:1278:5 #23 0x7faea62b8705 in mozilla::RefreshDriverTimer::Tick() layout/base/nsRefreshDriver.cpp:171:5 #24 0x7faea0ec561f in nsTimerImpl::Fire() xpcom/threads/nsTimerImpl.cpp:618:7 #25 0x7faea0ec5d81 in nsTimerEvent::Run() xpcom/threads/nsTimerImpl.cpp:711:3 #26 0x7faea0ebcdd0 in nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp:770:7 #27 0x7faea0f13aaa in NS_ProcessNextEvent(nsIThread*, bool) xpcom/glue/nsThreadUtils.cpp:265:10 #28 0x7faea17dc613 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) ipc/glue/MessagePump.cpp:99:21 #29 0x7faea174ac31 in MessageLoop::Run() ipc/chromium/src/base/message_loop.cc:229:3

previously allocated by thread T0 here: #0 0x49cc59 in malloc asan_rtl #1 0x7faeae0daaed in moz_xmalloc memory/mozalloc/mozalloc.cpp:52:17 #2 0x7faea2bf3dd0 in gfxFont::Draw(gfxTextRun*, unsigned int, unsigned int, gfxPoint*, TextRunDrawParams&) objdir-ff-asan/gfx/thebes/../../dist/include/mozilla/mozalloc.h:201:12 #3 0x7faea2c126b7 in gfxTextRun::DrawGlyphs(gfxFont*, unsigned int, unsigned int, gfxPoint*, gfxTextRun::PropertyProvider*, unsigned int, unsigned int, TextRunDrawParams&) gfx/thebes/gfxFont.cpp:6929:5 #4 0x7faea2c13e31 in gfxTextRun::Draw(gfxContext*, gfxPoint, DrawMode, unsigned int, unsigned int, gfxTextRun::PropertyProvider*, double*, gfxTextContextPaint*, gfxTextRunDrawCallbacks*) gfx/thebes/gfxFont.cpp:7149:9 #5 0x7faea6693e4d in DrawTextRun(gfxTextRun*, gfxContext*, gfxPoint const&, unsigned int, unsigned int, PropertyProvider*, unsigned int, double*, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5968:5 #6 0x7faea66938ae in nsTextFrame::DrawTextRun(gfxContext*, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, unsigned int, double&, bool, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5984:3 #7 0x7faea668c62e in nsTextFrame::DrawText(gfxContext*, gfxRect const&, gfxPoint const&, gfxPoint const&, unsigned int, unsigned int, PropertyProvider&, nsTextPaintStyle const&, unsigned int, nsCharClipDisplayItem::ClipEdges const&, double&, bool, unsigned int const*, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:6135:5 #8 0x7faea6684586 in nsTextFrame::PaintText(nsRenderingContext*, nsPoint, nsRect const&, nsCharClipDisplayItem const&, gfxTextContextPaint*, nsTextFrame::DrawPathCallbacks*) layout/generic/nsTextFrame.cpp:5942:3 #9 0x7faea6682df3 in nsDisplayText::Paint(nsDisplayListBuilder*, nsRenderingContext*) layout/generic/nsTextFrame.cpp:4550:3 #10 0x7faea62f3dae in mozilla::FrameLayerBuilder::PaintItems(nsTArraymozilla::FrameLayerBuilder::ClippedDisplayItem&, nsIntRect const&, gfxContext*, nsRenderingContext*, nsDisplayListBuilder*, nsPresContext*, nsIntPoint const&, float, float, int) layout/base/FrameLayerBuilder.cpp:4192:9 #11 0x7faea62f5f34 in mozilla::FrameLayerBuilder::DrawThebesLayer(mozilla::layers::ThebesLayer*, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*) layout/base/FrameLayerBuilder.cpp:4351:5 #12 0x7faea2a77f07 in mozilla::layers::BasicThebesLayer::PaintBuffer(gfxContext*, nsIntRegion const&, nsIntRegion const&, nsIntRegion const&, bool, mozilla::layers::DrawRegionClip, void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*) gfx/layers/basic/BasicThebesLayer.h:116:5 #13 0x7faea2a74718 in mozilla::layers::BasicThebesLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicThebesLayer.cpp:184:5 #14 0x7faea2a65f6d in non-virtual thunk to mozilla::layers::BasicContainerLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicContainerLayer.cpp:128:5 #15 0x7faea2a65f6d in non-virtual thunk to mozilla::layers::BasicContainerLayer::Validate(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::ReadbackProcessor*) gfx/layers/basic/BasicContainerLayer.cpp:128:5 #16 0x7faea2a695c3 in mozilla::layers::BasicLayerManager::EndTransactionInternal(void ()(mozilla::layers::ThebesLayer, gfxContext*, nsIntRegion const&, mozilla::layers::DrawRegionClip, nsIntRegion const&, void*), void*, mozilla::layers::LayerManager::EndTransactionFlags) gfx/layers/basic/BasicLayerManager.cpp:501:5 #17 0x7faea63f46d0 in nsDisplayList::PaintForFrame(nsDisplayListBuilder*, nsRenderingContext*, nsIFrame*, unsigned int) layout/base/nsDisplayList.cpp:1326:3 #18 0x7faea63f307e in nsDisplayList::PaintRoot(nsDisplayListBuilder*, nsRenderingContext*, unsigned int) layout/base/nsDisplayList.cpp:1174:3 #19 0x7faea6449dc3 in nsLayoutUtils::PaintFrame(nsRenderingContext*, nsIFrame*, nsRegion const&, unsigned int, unsigned int) layout/base/nsLayoutUtils.cpp:3060:3 #20 0x7faea628e576 in PresShell::Paint(nsView*, nsRegion const&, unsigned int) layout/base/nsPresShell.cpp:6236:5 #21 0x7faea4b286c0 in nsViewManager::ProcessPendingUpdatesPaint(nsIWidget*) view/src/nsViewManager.cpp:443:7 #22 0x7faea4b2800e in nsViewManager::ProcessPendingUpdatesForView(nsView*, bool) view/src/nsViewManager.cpp:384:9 #23 0x7faea62b3056 in nsRefreshDriver::Tick(long, mozilla::TimeStamp) layout/base/nsRefreshDriver.cpp:1278:5 #24 0x7faea62b8705 in mozilla::RefreshDriverTimer::Tick() layout/base/nsRefreshDriver.cpp:171:5 #25 0x7faea0ec561f in nsTimerImpl::Fire() xpcom/threads/nsTimerImpl.cpp:618:7 #26 0x7faea0ec5d81 in nsTimerEvent::Run() xpcom/threads/nsTimerImpl.cpp:711:3 #27 0x7faea0ebcdd0 in nsThread::ProcessNextEvent(bool, bool*) xpcom/threads/nsThread.cpp:770:7 #28 0x7faea0f13aaa in NS_ProcessNextEvent(nsIThread*, bool) xpcom/glue/nsThreadUtils.cpp:265:10 #29 0x7faea17dc613 in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) ipc/glue/MessagePump.cpp:99:21

SUMMARY: AddressSanitizer: heap-use-after-free ??:0 ?? Shadow bytes around the buggy address: 0x0c1a80056fc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c1a80056fd0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1a80056fe0: fd fd fa fa fa fa fa fa fa fa 00 00 00 00 00 00 0x0c1a80056ff0: 00 00 00 00 00 00 00 00 00 00 00 00 fa fa fa fa 0x0c1a80057000: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd =>0x0c1a80057010: fd fd fd fd fd fd fa fa fa fa fa fa fa fa[fd]fd 0x0c1a80057020: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1a80057030: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c1a80057040: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa 0x0c1a80057050: fa fa fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c1a80057060: fd fd fd fd fa fa fa fa fa fa fa fa fd fd fd fd Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc ASan internal: fe ==19988==ABORTING

The original report as published on Mozilla's Bugzilla, by Abhishek Arya. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A critical-severity memory corruption bug in Graphics: Text. Mozilla made it public on 30 July 2014.

About Memory corruption

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Abhishek Arya

View all

130 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.