summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-10-01 23:53:48 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2025-10-02 12:09:40 -0400
commit20fc91df395b834ecaee0bdb29df8da224fdf89a (patch)
tree9f5c9ae7498d89afbb02464dbc01c87092cb9309 /sample
parent2ed5a02fcca4da4acf4c8c3d7ee4c392fc18d948 (diff)
YJIT: Prevent making a branch from a dead block to a live block
I'm seeing some memory corruption in the wild on blocks in `IseqPayload::dead_blocks`. While I unfortunately can't recreate the issue, (For all I know, it could be some external code corrupting YJIT's memory.) establishing a link between dead blocks and live blocks seems fishy enough that we ought to prevent it. When it did happen, it might've had bad interacts with Code GC and the optimization to immediately free empty blocks.
Diffstat (limited to 'sample')
0 files changed, 0 insertions, 0 deletions