Skip to content

Fix use-after-free error in profiling-related code in GDScriptFunction::call #106711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OoJJBoO
Copy link

@OoJJBoO OoJJBoO commented May 22, 2025

Fixes #106680 by adding a freed check before entering profiling related code in GDScriptFunction::call.

@OoJJBoO OoJJBoO requested a review from a team as a code owner May 22, 2025 08:01
@AThousandShips AThousandShips added this to the 4.5 milestone May 22, 2025
@AThousandShips AThousandShips added cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release topic:gdscript and removed topic:editor labels May 22, 2025
@OoJJBoO OoJJBoO changed the title Add freed check before calling profiling code to GDScriptFunction::call Fix use-after-free error in profiling-related code in GDScriptFunction::call May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release crash topic:gdscript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calling free on local RenderingDevice causes game to crash with signal 11 when profiler is running
2 participants