Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a3f835a76f0a6e024a2bf22cbb14462d167df5e
      
https://github.com/WebKit/WebKit/commit/3a3f835a76f0a6e024a2bf22cbb14462d167df5e
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp

  Log Message:
  -----------
  [JSC] m_expressionInfo may be not set yet
https://bugs.webkit.org/show_bug.cgi?id=289268
rdar://146399098

Reviewed by Yijia Huang.

Since this field is set after object allocation is done, there is a
chance that concurrent GC markers find this object before setting a
value to m_expressionInfo field and accessing it. So, it can be a
nullptr, thus we should check nullptr check before using it from
concurrent GC markers.

* Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp:
(JSC::UnlinkedCodeBlock::visitChildrenImpl):

Canonical link: https://commits.webkit.org/291720@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to