Skip to content
Memory corruption Disclosed report

Heap-use-after-free in mozilla::CustomCounterStyle::IsBullet

Abhishek Arya Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 2 days
  • Paid in 13 days
  • Disclosed after 2 days

Created attachment 8497964 Testcase

==29679==ERROR: AddressSanitizer: heap-use-after-free on address 0x6100002adb40 at pc 0x7fba7541c77a bp 0x7fff88675440 sp 0x7fff88675438 READ of size 8 at 0x6100002adb40 thread T0 #0 0x7fba7541c779 in mozilla::CustomCounterStyle::IsBullet() #1 0x7fba75948ea6 in nsBlockFrame::SetInitialChildList(mozilla::layout::FrameChildListID, nsFrameList&) /build/firefox/src/layout/generic/nsBlockFrame.cpp:6540:46 #2 0x7fba757a006c in nsCSSFrameConstructor::ConstructBlock(nsFrameConstructorState&, nsStyleDisplay const*, nsIContent*, nsContainerFrame*, nsContainerFrame*, nsStyleContext*, nsContainerFrame**, nsFrameItems&, nsIFrame*, PendingBinding*) /build/firefox/src/layout/base/nsCSSFrameConstructor.cpp:10777:3 #3 0x7fba757ad8d5 in nsCSSFrameConstructor::ConstructNonScrollableBlock(nsFrameConstructorState&, nsCSSFrameConstructor::FrameConstructionItem&, nsContainerFrame*, nsStyleDisplay const*, nsFrameItems&) /build/firefox/src/layout/base/nsCSSFrameConstructor.cpp:4720:3 #4 0x7fba757a8fdf in nsCSSFrameConstructor::ConstructFrameFromItemInternal(nsCSSFrameConstructor::FrameConstructionItem&, nsFrameConstructorState&, nsContainerFrame*, nsFrameItems&) /build/firefox/src/layout/base/nsCSSFrameConstructor.cpp:3738:7 #5 0x7fba757b3548 in nsCSSFrameConstructor::ConstructFramesFromItem(nsFrameConstructorState&, nsCSSFrameConstructor::FrameConstructionItemList::Iterator&, nsContainerFrame*, nsFrameItems&) /build/firefox/src/layout/base/nsCSSFrameConstructor.cpp:5801:3 #6 0x7fba757bbe12 in nsCSSFrameConstructor::ContentRangeInserted(nsIContent*, nsIContent*, nsIContent*, nsILayoutHistoryState*, bool) /build/firefox/src/layout/base/nsCSSFrameConstructor.cpp:9563:5 #7 0x7fba757b418d in nsCSSFrameConstructor::RecreateFramesForContent(nsIContent*, bool) /build/firefox/src/layout/base/nsCSSFrameConstructor.cpp:7090:10 #8 0x7fba75741d94 in mozilla::RestyleManager::ProcessRestyledFrames(nsStyleChangeList&) /build/firefox/src/layout/base/RestyleManager.cpp:743:7 #9 0x7fba7574415f in mozilla::RestyleManager::ComputeAndProcessStyleChange(nsIFrame*, nsChangeHint, mozilla::RestyleTracker&, nsRestyleHint) /build/firefox/src/layout/base/RestyleManager.cpp:3568:3 #10 0x7fba7574390c in mozilla::RestyleManager::RestyleElement(mozilla::dom::Element*, nsIFrame*, nsChangeHint, mozilla::RestyleTracker&, nsRestyleHint) /build/firefox/src/layout/base/RestyleManager.cpp:926:5 #11 0x7fba75755e16 in mozilla::RestyleTracker::DoProcessRestyles() /build/firefox/src/layout/base/RestyleTracker.cpp:166:5 #12 0x7fba75747ec0 in mozilla::RestyleManager::ProcessPendingRestyles() /build/firefox/src/layout/base/RestyleTracker.h:277:7 #13 0x7fba756b2cfd in PresShell::FlushPendingNotifications(mozilla::ChangesToFlush) /build/firefox/src/layout/base/nsPresShell.cpp:4231:9 #14 0x7fba746bcd91 in nsDocument::FlushPendingNotifications(mozFlushType) /build/firefox/src/content/base/src/nsDocument.cpp:7927:7 #15 0x7fba7477ba82 in mozilla::dom::Element::GetStyledFrame() /build/firefox/src/content/base/src/Element.cpp:1802:5 #16 0x7fba74b9dd77 in nsGenericHTMLElement::GetOffsetRect(mozilla::gfx::IntRectTypedmozilla::CSSPixel&) /build/firefox/src/content/html/content/src/nsGenericHTMLElement.cpp:335:21 #17 0x7fba72ea3b53 in mozilla::dom::HTMLElementBinding::get_offsetTop(JSContext*, JS::Handle<JSObject*>, nsGenericHTMLElement*, JSJitGetterCallArgs) /build/firefox/src/content/html/content/src/nsGenericHTMLElement.h:268:5 #18 0x7fba73b73d9b in mozilla::dom::GenericBindingGetter(JSContext*, unsigned int, JS::Value*) /build/firefox/src/dom/bindings/BindingUtils.cpp:2344:13 #19 0x7fba789315c7 in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) /build/firefox/src/js/src/jscntxtinlines.h:231:15 #20 0x7fba788b3622 in js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandleJS::Value) /build/firefox/src/js/src/vm/Interpreter.cpp:540:10 #21 0x7fba7893385d in js::InvokeGetterOrSetter(JSContext*, JSObject*, JS::Value, unsigned int, JS::Value*, JS::MutableHandleJS::Value) /build/firefox/src/js/src/vm/Interpreter.cpp:613:12 #22 0x7fba786c9d1a in js::baseops::GetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<jsid>, JS::MutableHandleJS::Value) /build/firefox/src/js/src/vm/Shape-inl.h:46:16 #23 0x7fba789238d2 in Interpret(JSContext*, js::RunState&) /build/firefox/src/js/src/jsobj.h:1031:18 #24 0x7fba78907f04 in js::RunScript(JSContext*, js::RunState&) /build/firefox/src/js/src/vm/Interpreter.cpp:434:12 #25 0x7fba788de6bb in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::ExecuteType, js::AbstractFramePtr, JS::Value*) /build/firefox/src/js/src/vm/Interpreter.cpp:640:15 #26 0x7fba78933beb in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) /build/firefox/src/js/src/vm/Interpreter.cpp:676:12 #27 0x7fba78567c82 in Evaluate(JSContext*, JS::Handle<JSObject*>, JS::ReadOnlyCompileOptions const&, JS::SourceBufferHolder&, JS::Value*) /build/firefox/src/js/src/jsapi.cpp:4813:19 #28 0x7fba726a7b33 in nsJSUtils::EvaluateString(JSContext*, JS::SourceBufferHolder&, JS::Handle<JSObject*>, JS::CompileOptions&, nsJSUtils::EvaluateOptions const&, JS::MutableHandleJS::Value, void**) /build/firefox/src/dom/base/nsJSUtils.cpp:246:14 #29 0x7fba726a71dd in nsJSUtils::EvaluateString(JSContext*, nsAString_internal const&, JS::Handle<JSObject*>, JS::CompileOptions&, nsJSUtils::EvaluateOptions const&, JS::MutableHandleJS::Value, void**) /build/firefox/src/dom/base/nsJSUtils.cpp:176:10 #30 0x7fba726a87e2 in nsJSUtils::EvaluateString(JSContext*, nsAString_internal const&, JS::Handle<JSObject*>, JS::CompileOptions&, void**) /build/firefox/src/dom/base/nsJSUtils.cpp:298:10 #31 0x7fba725b1770 in nsGlobalWindow::RunTimeoutHandler(nsTimeout*, nsIScriptContext*) /build/firefox/src/dom/base/nsGlobalWindow.cpp:12234:5 #32 0x7fba7258ff6b in nsGlobalWindow::RunTimeout(nsTimeout*) /build/firefox/src/dom/base/nsGlobalWindow.cpp:12465:32 #33 0x7fba725b0811 in nsGlobalWindow::TimerCallback(nsITimer*, void*) /build/firefox/src/dom/base/nsGlobalWindow.cpp:12711:3 #34 0x7fba708da2a9 in nsTimerImpl::Fire() /build/firefox/src/xpcom/threads/nsTimerImpl.cpp:618:7 #35 0x7fba708daa73 in nsTimerEvent::Run() /build/firefox/src/xpcom/threads/nsTimerImpl.cpp:711:3 #36 0x7fba708d1a9f in nsThread::ProcessNextEvent(bool, bool*) /build/firefox/src/xpcom/threads/nsThread.cpp:830:7 #37 0x7fba70926d96 in NS_ProcessNextEvent(nsIThread*, bool) /build/firefox/src/xpcom/glue/nsThreadUtils.cpp:265:10 #38 0x7fba7112b9be in mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) /build/firefox/src/ipc/glue/MessagePump.cpp:140:5 #39 0x7fba710da721 in MessageLoop::Run() /build/firefox/src/ipc/chromium/src/base/message_loop.cc:230:3 #40 0x7fba745752cf in nsBaseAppShell::Run() #41 0x7fba769bd761 in nsAppStartup::Run() /build/firefox/src/toolkit/components/startup/nsAppStartup.cpp:280:19 #42 0x7fba76a9bd5e in XREMain::XRE_mainRun() /build/firefox/src/toolkit/xre/nsAppRunner.cpp:4155:10 #43 0x7fba76a9cd46 in XREMain::XRE_main(int, char**, nsXREAppData const*) /build/firefox/src/toolkit/xre/nsAppRunner.cpp:4228:8 #44 0x7fba76a9db86 in XRE_main /build/firefox/src/toolkit/xre/nsAppRunner.cpp:4442:16 #45 0x7fba81b36062 in main /build/firefox/src/browser/app/nsBrowserApp.cpp:290:12 #46 0x7fba8067276c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226 #47 0x7fba81a94c58 in _start

0x6100002adb40 is located 0 bytes inside of 192-byte region [0x6100002adb40,0x6100002adc00) freed by thread T0 here: #0 0x7fba81b13c01 in __interceptor_free asan_rtl #1 0x7fba7546ecbf in mozilla::CustomCounterStyle::Release() /build/firefox/src/objdir-ff-asan/layout/style/../../dist/include/mozilla/mozalloc.h:232:12 #2 0x7fba7547502c in nsTArray_Impl<nsRefPtrmozilla::CounterStyle, nsTArrayInfallibleAllocator>::~nsTArray_Impl() /build/firefox/src/objdir-ff-asan/layout/style/../../dist/include/nsRefPtr.h:57:7 #3 0x7fba75422d5f in mozilla::CounterStyleManager::NotifyRuleChanged() /build/firefox/src/layout/style/CounterStyleManager.cpp:2006:8 #4 0x7fba758ba5eb in nsPresContext::FlushCounterStyles() /build/firefox/src/layout/base/nsPresContext.cpp:2207:20 #5 0x7fba756b2b2e in PresShell::FlushPendingNotifications(mozilla::ChangesToFlush) /build/firefox/src/layout/base/nsPresShell.cpp:4208:7 #6 0x7fba746bcd91 in nsDocument::FlushPendingNotifications(mozFlushType) /build/firefox/src/content/base/src/nsDocument.cpp:7927:7 #7 0x7fba7477ba82 in mozilla::dom::Element::GetStyledFrame() /build/firefox/src/content/base/src/Element.cpp:1802:5 #8 0x7fba74b9dd77 in nsGenericHTMLElement::GetOffsetRect(mozilla::gfx::IntRectTypedmozilla::CSSPixel&) /build/firefox/src/content/html/content/src/nsGenericHTMLElement.cpp:335:21 #9 0x7fba72ea3b53 in mozilla::dom::HTMLElementBinding::get_offsetTop(JSContext*, JS::Handle<JSObject*>, nsGenericHTMLElement*, JSJitGetterCallArgs) /build/firefox/src/content/html/content/src/nsGenericHTMLElement.h:268:5 #10 0x7fba73b73d9b in mozilla::dom::GenericBindingGetter(JSContext*, unsigned int, JS::Value*) /build/firefox/src/dom/bindings/BindingUtils.cpp:2344:13 #11 0x7fba789315c7 in js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) /build/firefox/src/js/src/jscntxtinlines.h:231:15 #12 0x7fba788b3622 in js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandleJS::Value) /build/firefox/src/js/src/vm/Interpreter.cpp:540:10 #13 0x7fba7893385d in js::InvokeGetterOrSetter(JSContext*, JSObject*, JS::Value, unsigned int, JS::Value*, JS::MutableHandleJS::Value) /build/firefox/src/js/src/vm/Interpreter.cpp:613:12 #14 0x7fba786c9d1a in js::baseops::GetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<jsid>, JS::MutableHandleJS::Value) /build/firefox/src/js/src/vm/Shape-inl.h:46:16 #15 0x7fba789238d2 in Interpret(JSContext*, js::RunState&) /build/firefox/src/js/src/jsobj.h:1031:18 #16 0x7fba78907f04 in js::RunScript(JSContext*, js::RunState&) /build/firefox/src/js/src/vm/Interpreter.cpp:434:12 #17 0x7fba788de6bb in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::ExecuteType, js::AbstractFramePtr, JS::Value*) /build/firefox/src/js/src/vm/Interpreter.cpp:640:15 #18 0x7fba78933beb in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) /build/firefox/src/js/src/vm/Interpreter.cpp:676:12 #19 0x7fba78567c82 in Evaluate(JSContext*, JS::Handle<JSObject*>, JS::ReadOnlyCompileOptions const&, JS::SourceBufferHolder&, JS::Value*) /build/firefox/src/js/src/jsapi.cpp:4813:19 #20 0x7fba726a7b33 in nsJSUtils::EvaluateString(JSContext*, JS::SourceBufferHolder&, JS::Handle<JSObject*>, JS::CompileOptions&, nsJSUtils::EvaluateOptions const&, JS::MutableHandleJS::Value, void**) /build/firefox/src/dom/base/nsJSUtils.cpp:246:14 #21 0x7fba726a71dd in nsJSUtils::EvaluateString(JSContext*, nsAString_internal const&, JS::Handle<JSObject*>, JS::CompileOptions&, nsJSUtils::EvaluateOptions const&, JS::MutableHandleJS::Value, void**) /build/firefox/src/dom/base/nsJSUtils.cpp:176:10 #22 0x7fba726a87e2 in nsJSUtils::EvaluateString(JSContext*, nsAString_internal const&, JS::Handle<JSObject*>, JS::CompileOptions&, void**) /build/firefox/src/dom/base/nsJSUtils.cpp:298:10 #23 0x7fba725b1770 in nsGlobalWindow::RunTimeoutHandler(nsTimeout*, nsIScriptContext*) /build/firefox/src/dom/base/nsGlobalWindow.cpp:12234:5 #24 0x7fba7258ff6b in nsGlobalWindow::RunTimeout(nsTimeout*) /build/firefox/src/dom/base/nsGlobalWindow.cpp:12465:32 #25 0x7fba725b0811 in nsGlobalWindow::TimerCallback(nsITimer*, void*) /build/firefox/src/dom/base/nsGlobalWindow.cpp:12711:3 #26 0x7fba708da2a9 in nsTimerImpl::Fire() /build/firefox/src/xpcom/threads/nsTimerImpl.cpp:618:7 #27 0x7fba708daa73 in nsTimerEvent::Run() /build/firefox/src/xpcom/threads/nsTimerImpl.cpp:711:3 #28 0x7fba708d1a9f in nsThread::ProcessNextEvent(bool, bool*) /build/firefox/src/xpcom/threads/nsThread.cpp:830:7 #29 0x7fba70926d96 in NS_ProcessNextEvent(nsIThread*, bool) /build/firefox/src/xpcom/glue/nsThreadUtils.cpp:265:10

previously allocated by thread T0 here: #0 0x7fba81b13ed9 in malloc asan_rtl #1 0x7fba7c200a7d in moz_xmalloc #2 0x7fba7541b93d in mozilla::CounterStyleManager::BuildCounterStyle(nsAString_internal const&) /build/firefox/src/objdir-ff-asan/layout/style/../../dist/include/mozilla/mozalloc.h:208:12 #3 0x7fba754212ca in mozilla::CustomCounterStyle::ComputeExtends() /build/firefox/src/layout/style/CounterStyleManager.cpp:1604:31 #4 0x7fba7541c217 in mozilla::CustomCounterStyle::GetPrefix(nsAString_internal&) /build/firefox/src/layout/style/CounterStyleManager.cpp:1634:5 #5 0x7fba75952c9c in nsBulletFrame::GetListItemText(nsAString_internal&) /build/firefox/src/layout/generic/nsBulletFrame.cpp:468:3 #6 0x7fba75953ea7 in nsBulletFrame::GetDesiredSize(nsPresContext*, nsRenderingContext*, nsHTMLReflowMetrics&, float) /build/firefox/src/layout/generic/nsBulletFrame.cpp:577:7 #7 0x7fba75954b62 in nsBulletFrame::GetMinISize(nsRenderingContext*) /build/firefox/src/layout/generic/nsBulletFrame.cpp:636:3 #8 0x7fba75892705 in nsLayoutUtils::IntrinsicForContainer(nsRenderingContext*, nsIFrame*, nsLayoutUtils::IntrinsicISizeType, unsigned int) /build/firefox/src/layout/base/nsLayoutUtils.cpp:3848:16 #9 0x7fba759a4c6b in nsFrame::AddInlineMinISize(nsRenderingContext*, nsIFrame::InlineMinISizeData*) /build/firefox/src/layout/generic/nsFrame.cpp:3853:25 #10 0x7fba7591447d in nsBlockFrame::GetMinISize(nsRenderingContext*) /build/firefox/src/layout/generic/nsBlockFrame.cpp:734:11 #11 0x7fba759a9b4e in nsFrame::ShrinkWidthToFit(nsRenderingContext*, int) #12 0x7fba75967494 in nsContainerFrame::ComputeAutoSize(nsRenderingContext*, mozilla::WritingMode, mozilla::LogicalSize const&, int, mozilla::LogicalSize const&, mozilla::LogicalSize const&, mozilla::LogicalSize const&, bool) /build/firefox/src/layout/generic/nsContainerFrame.cpp:906:27 #13 0x7fba759a76ac in nsFrame::ComputeSize(nsRenderingContext*, mozilla::WritingMode, mozilla::LogicalSize const&, int, mozilla::LogicalSize const&, mozilla::LogicalSize const&, mozilla::LogicalSize const&, unsigned int) /build/firefox/src/layout/generic/nsFrame.cpp:4063:24 #14 0x7fba75a1d5b1 in nsHTMLReflowState::InitConstraints(nsPresContext*, int, int, nsMargin const*, nsMargin const*, nsIAtom*) /build/firefox/src/layout/generic/nsHTMLReflowState.cpp:2149:9 #15 0x7fba759e92f0 in nsHTMLReflowState::Init(nsPresContext*, int, int, nsMargin const*, nsMargin const*) /build/firefox/src/layout/generic/nsHTMLReflowState.cpp:365:3 #16 0x7fba759401fe in nsBlockFrame::ComputeFloatWidth(nsBlockReflowState&, nsRect const&, nsIFrame*) /build/firefox/src/layout/generic/nsBlockFrame.cpp:5774:3 #17 0x7fba7594e00e in nsBlockReflowState::AddFloat(nsLineLayout*, nsIFrame*, int) /build/firefox/src/layout/generic/nsBlockReflowState.cpp:554:8 #18 0x7fba758dc604 in nsLineLayout::ReflowFrame(nsIFrame*, unsigned int&, nsHTMLReflowMetrics*, bool&) /build/firefox/src/layout/generic/nsLineLayout.h:155:12 #19 0x7fba75935871 in nsBlockFrame::ReflowInlineFrame(nsBlockReflowState&, nsLineLayout&, nsLineList_iterator, nsIFrame*, LineReflowStatus*) /build/firefox/src/layout/generic/nsBlockFrame.cpp:3799:3 #20 0x7fba759340f2 in nsBlockFrame::DoReflowInlineFrames(nsBlockReflowState&, nsLineLayout&, nsLineList_iterator, nsFlowAreaRect&, int&, nsFloatManager::SavedState*, bool*, LineReflowStatus*, bool) /build/firefox/src/layout/generic/nsBlockFrame.cpp:3599:5 #21 0x7fba7592cc72 in nsBlockFrame::ReflowInlineFrames(nsBlockReflowState&, nsLineList_iterator, bool*) /build/firefox/src/layout/generic/nsBlockFrame.cpp:3469:9 #22 0x7fba7591e74a in nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) /build/firefox/src/layout/generic/nsBlockFrame.cpp:2615:5 #23 0x7fba75917359 in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) /build/firefox/src/layout/generic/nsBlockFrame.cpp:1136:3 #24 0x7fba75931cd2 in nsBlockReflowContext::ReflowBlock(nsRect const&, bool, nsCollapsingMargin&, int, bool, nsLineBox*, nsHTMLReflowState&, unsigned int&, nsBlockReflowState&) /build/firefox/src/layout/generic/nsBlockReflowContext.cpp:290:3 #25 0x7fba75929a8e in nsBlockFrame::ReflowBlockFrame(nsBlockReflowState&, nsLineList_iterator, bool*) /build/firefox/src/layout/generic/nsBlockFrame.cpp:3196:5 #26 0x7fba7591e702 in nsBlockFrame::ReflowDirtyLines(nsBlockReflowState&) /build/firefox/src/layout/generic/nsBlockFrame.cpp:2612:5 #27 0x7fba75917359 in nsBlockFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) /build/firefox/src/layout/generic/nsBlockFrame.cpp:1136:3 #28 0x7fba7595b9cc in nsCanvasFrame::Reflow(nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, unsigned int&) /build/firefox/src/layout/generic/nsContainerFrame.cpp:945:3 #29 0x7fba7595c983 in nsContainerFrame::ReflowChild(nsIFrame*, nsPresContext*, nsHTMLReflowMetrics&, nsHTMLReflowState const&, int, int, unsigned int, unsigned int&, nsOverflowContinuationTracker*) /build/firefox/src/layout/generic/nsContainerFrame.cpp:945:3

SUMMARY: AddressSanitizer: heap-use-after-free ??:0 ?? Shadow bytes around the buggy address: 0x0c208004db10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c208004db20: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c208004db30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c208004db40: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c208004db50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c208004db60: fa fa fa fa fa fa fa fa[fd]fd fd fd fd fd fd fd 0x0c208004db70: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd 0x0c208004db80: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c208004db90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c208004dba0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd 0x0c208004dbb0: fd fd fd fd fd fd fd fd fd fd fd fd 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 Array cookie: ac ASan internal: fe ==29679==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 CSS Parsing and Computation. Mozilla made it public on 3 October 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.