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

Ensure VLA size is at least one (again) #197

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Conversation

rkta
Copy link
Contributor

@rkta rkta commented Oct 9, 2021

This is the same issue as commit 12c7b62 and should have been
included there.

'maxcol' can be -1 which results in a size of 0. The array is never
accessed with 'maxcol < 0', but zero length variable length arrays are
undefined behaviour.

This is the same issue as commit 12c7b62 and should have been
included there.

'maxcol' can be -1 which results in a size of 0. The array is never
accessed with 'maxcol < 0', but zero length variable length arrays are
undefined behaviour.
@tats tats merged commit 7f8b4f9 into tats:master Oct 26, 2021
@tats
Copy link
Owner

tats commented Oct 26, 2021

Merged, thanks for your contribution.

@rkta rkta deleted the table_vla_size_again branch May 1, 2022 09:46
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.

None yet

2 participants