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

Remove invalid free of value pointer into argv array. #290

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

gmartin82
Copy link
Contributor

@gmartin82 gmartin82 commented Dec 6, 2023

Where the user has overridden the value to be sent the value pointer will point to memory within the argv array. As such the memory should not be freed. This PR removes the invalid free. Fixes #284.

Where the value has been overridden by the user the value pointer will point to memory within the argv array which should not be free'd.
@jean-roland
Copy link
Contributor

LGTM

@Mallets Mallets merged commit ae3c237 into eclipse-zenoh:master Dec 6, 2023
46 checks passed
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.

[Bug] z_pub returns munmap_chunk(): invalid pointer
3 participants