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

manager.c: Fix regression due to using wrong free function. #514

Merged

Conversation

InterLinked1
Copy link
Contributor

Commit 424be34 introduced a regression by calling ast_free on memory allocated by realpath. This causes Asterisk to abort when executing this function. Since the memory is allocated by glibc, it should be freed using ast_std_free.

Resolves: #513

Commit 424be34 introduced
a regression by calling ast_free on memory allocated by
realpath. This causes Asterisk to abort when executing this
function. Since the memory is allocated by glibc, it should
be freed using ast_std_free.

Resolves: asterisk#513
@InterLinked1
Copy link
Contributor Author

InterLinked1 commented Dec 26, 2023

cherry-pick-to: 18
cherry-pick-to: 20
cherry-pick-to: 21
cherry-pick-to: certified/18.9

@gtjoseph gtjoseph added the cherry-pick-test Trigger dry run of cherry-picks label Dec 27, 2023
@github-actions github-actions bot added cherry-pick-testing-in-progress Cherry-Pick tests in progress cherry-pick-checks-passed Cherry-Pick checks passed cherry-pick-gates-failed Cherry-Pick gates failed and removed cherry-pick-test Trigger dry run of cherry-picks cherry-pick-testing-in-progress Cherry-Pick tests in progress labels Dec 27, 2023
@asterisk-org-access-app asterisk-org-access-app bot merged commit fa3922a into asterisk:master Jan 2, 2024
64 of 73 checks passed
Copy link

github-actions bot commented Jan 2, 2024

Successfully merged to branch master and cherry-picked to ["18","20","21","certified/18.9"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: manager.c: Crash due to regression using wrong free function when built with MALLOC_DEBUG
3 participants