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 reuse of slice for varargs with poly types #4233

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

laytan
Copy link
Sponsor Collaborator

@laytan laytan commented Sep 12, 2024

The type was added before poly args were resolved resulting in using the default size of 8 and causing stack buffer overflows.

Fixes #4217

@laytan laytan force-pushed the fix-poly-variadic-reuse-slice branch from b13e0b7 to 387f566 Compare September 12, 2024 00:26
@laytan laytan merged commit 275f1cc into odin-lang:master Sep 12, 2024
7 checks passed
@laytan laytan deleted the fix-poly-variadic-reuse-slice branch September 12, 2024 00:34
This pull request was closed.
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.

Appending to dynamic array causes access violation in various circumstances
1 participant