Skip to content

Fix Use After Free Issue + Hardened Malloc Support - #245

Open
davidcollini wants to merge 1 commit into
komaruworld:mainfrom
davidcollini:fix-overlay-mutex-uaf
Open

davidcollini wants to merge 1 commit into
komaruworld:mainfrom
davidcollini:fix-overlay-mutex-uaf

Conversation

@davidcollini

Copy link
Copy Markdown

An issue wasn't open but I found and fixed a use-after-free issue that caused Mocktail to crash when opening a game while running with hardened malloc enabled. fatal allocator error: detected write after free

I also tested other roblox menus and menus in Mocktail with this fix and didn't notice any memory issues or problematic logs.

This issue is not present when played through OpenGL, hardened malloc works completely fine with OpenGL.

After my testing this seems to be the only blocker for supporting hardened malloc so I removed the limitation note from the README

Closes: (No issue open at the moment)

@davidcollini davidcollini changed the title Fix overlay mutex use-after-free in Vulkan DestroyDevice and drop har… Fix Use After Free Issue + Hardened Malloc Support Nov 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant