Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3f23dc57bfa8b29236edacbd7207752e836cfe20 https://github.com/WebKit/WebKit/commit/3f23dc57bfa8b29236edacbd7207752e836cfe20 Author: Daniel Liu <danl...@umich.edu> Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths: M Source/JavaScriptCore/bytecode/CodeBlock.cpp Log Message: ----------- CodeBlock should reset its StubInfo when jettisoned https://bugs.webkit.org/show_bug.cgi?id=288554 rdar://144072285 Reviewed by Yusuke Suzuki. CodeBlock's StubInfo can keep watchpoints alive which do not ref data they hold, meaning that when the CodeBlock is jettisoned, we may have dangling pointers to data that was freed during a GC. * Source/JavaScriptCore/bytecode/CodeBlock.cpp: (JSC::CodeBlock::jettison): Originally-landed-as: 289651.190@safari-7621-branch (15053072f223). rdar://148056646 Canonical link: https://commits.webkit.org/293230@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