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 off-by-one in string length for InputParameter #243

Merged
merged 1 commit into from
Mar 2, 2022

Conversation

EricDuminil
Copy link
Contributor

Should fix #242.

TextTParameter can be typed correctly, and this change doesn't affect ColorTParameter, DateTParameter or TimeTParameter since their definition all include a terminating NULL character.

@prampec prampec merged commit 7bf235e into prampec:master Mar 2, 2022
@prampec
Copy link
Owner

prampec commented Mar 2, 2022

Thank you for finding and fixing this bug!

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.

Off-by-one error in input length for TextTParameter<n>
2 participants