[webkit-changes] [WebKit/WebKit] b88f37: Null deference under JSC::Structure::shouldConvert...

Chris Dumez noreply at github.com
Thu Dec 26 11:58:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b88f3785dca406b976ab5d44761c834700ba47dc
      https://github.com/WebKit/WebKit/commit/b88f3785dca406b976ab5d44761c834700ba47dc
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-12-26 (Thu, 26 Dec 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/StructureInlines.h

  Log Message:
  -----------
  Null deference under JSC::Structure::shouldConvertToPolyProto()
https://bugs.webkit.org/show_bug.cgi?id=285158

Reviewed by Darin Adler.

Null deference under JSC::Structure::shouldConvertToPolyProto(), which is undefined behavior.
This was found by adding a RELEASE_ASSERT() under `RefPtr::operator->()`:

* Source/JavaScriptCore/runtime/StructureInlines.h:
(JSC::Structure::shouldConvertToPolyProto):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list