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 using strlen with non-NUL terminated string #318

Merged
merged 2 commits into from Oct 6, 2021

Conversation

mattn
Copy link
Contributor

@mattn mattn commented Oct 6, 2021

ARK_VERSION_STR is constaint string that does not contain NUL.

Pleaes label this hacktoverfest2021 :)

@CLAassistant
Copy link

CLAassistant commented Oct 6, 2021

CLA assistant check
All committers have signed the CLA.

@mattn mattn changed the title Fix using strlen with non-NUL string Fix using strlen with non-NUL terminated string Oct 6, 2021
@SuperFola
Copy link
Member

Thanks for your contribution!

As for the label, as I understood the Hacktoberfest guidelines, this isn't needed since the whole repository is tagged hacktoberfest and hacktoberfest2021 :)

@mattn
Copy link
Contributor Author

mattn commented Oct 6, 2021

Updated PR. I'll squash commits if you want. Thanks.

@SuperFola
Copy link
Member

Thanks for the fix

Don't worry, I can squash and merge on my side.

@SuperFola SuperFola merged commit fe33784 into ArkScript-lang:dev Oct 6, 2021
rstefanic pushed a commit to rstefanic/Ark that referenced this pull request Dec 24, 2022
* Fix using strlen with non-NUL terminated string

* NUL terminator for ARK_VERSION_STR

Former-commit-id: 41623073a8d86ba2156d80579b57a64cf9763e1c
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

3 participants