Skip to content
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

Fix crash in ClassDB::add_virtual_method() if arguments metadata is the wrong size #1581

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

Conversation

dsnopek
Copy link
Collaborator

@dsnopek dsnopek commented Sep 12, 2024

Fixes #1580

However, this shouldn't ever happen, if developers use the GDVIRTUAL*() macros, which will always call this with arguments metadata of the correct size.

@dsnopek dsnopek added bug This has been identified as a bug crash labels Sep 12, 2024
@dsnopek dsnopek added this to the 4.x milestone Sep 12, 2024
@dsnopek dsnopek requested a review from a team as a code owner September 12, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug crash
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add_virtual_method with parameter crashes engine when loading editor
1 participant