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

better char array support #353

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

zhuoqiang
Copy link
Contributor

quill treats c array as c string and use strlen() to get the size of the c array buffer, which is not safe if the c array contain no \0 at all.

this patch uses strnlen() and array size to fix this issue #351

@odygrd
Copy link
Owner

odygrd commented Oct 31, 2023

Thanks for PR. It looks good to me. For some reason I can not trigger the CI tests so i am going to try to move it to another branch

@odygrd odygrd changed the base branch from master to char_array_support October 31, 2023 23:41
@odygrd odygrd merged commit ebf276a into odygrd:char_array_support Oct 31, 2023
2 checks passed
@odygrd odygrd mentioned this pull request Oct 31, 2023
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.

2 participants