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

Initialize strings #195

Merged

Conversation

sorru94
Copy link
Collaborator

@sorru94 sorru94 commented Dec 18, 2023

Initialize local arrays of char to 0.
They are often used as strings and some functions might assume them to be null-terminated from the start.

@sorru94 sorru94 added this to the v1.3 milestone Dec 18, 2023
Signed-off-by: Simone Orru <simone.orru@secomind.com>
@harlem88 harlem88 merged commit c280c0a into astarte-platform:master Dec 18, 2023
32 checks passed
@sorru94 sorru94 deleted the initialize-strings-to-zero branch December 18, 2023 12:57
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