Skip to content

Fix copy assignment operators for generated Variant classes causing memory corruption on self-assignment. - #2073

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
BenLubar:copy-constructor
Oct 15, 2026
Merged

dsnopek merged 1 commit into
godotengine:masterfrom
BenLubar:copy-constructor

Conversation

@BenLubar

Copy link
Copy Markdown
Contributor

Fixes #2071.

@BenLubar
BenLubar requested a review from a team as a code owner October 14, 2026 19:54

@dsnopek dsnopek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me - so long as this passes CI

@Ivorforce Ivorforce added the bug This has been identified as a bug label Oct 14, 2026
@dsnopek
dsnopek merged commit 1e79263 into godotengine:master Oct 15, 2026
20 checks passed
@BenLubar
BenLubar deleted the copy-constructor branch October 15, 2026 19:23
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PackedInt64Array::operator=(const PackedInt64Array &) reference counting issue

3 participants