Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed57dc0915ee05990f6c1684695ba0d757f722d8
      
https://github.com/WebKit/WebKit/commit/ed57dc0915ee05990f6c1684695ba0d757f722d8
  Author: Dan Hecht <[email protected]>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M Source/bmalloc/libpas/src/libpas/pas_enumerator.c
    M Source/bmalloc/libpas/src/test/EnumerationTests.cpp

  Log Message:
  -----------
  [libpas] pas_enumerator_create should check validity of compact heap bump
https://bugs.webkit.org/show_bug.cgi?id=311232
rdar://173763464

Reviewed by Marcus Plutowski.

In case the pas root is corrupted, let's be defensive and check
the consistency of the compact heap parameters.

Added test case to EnumerationTests.cpp to verify this path.

* Source/bmalloc/libpas/src/libpas/pas_enumerator.c:
(pas_enumerator_create):
* Source/bmalloc/libpas/src/test/EnumerationTests.cpp:
(std::testEnumerationInvalidCompactHeapBump):
(addEnumerationTests):

Originally-landed-as: 305413.604@rapid/safari-7624.2.5.110-branch 
(0c474e5f1172). rdar://176061751
Canonical link: https://commits.webkit.org/313934@main



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

Reply via email to