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
[bug]: Possible SEGV in res_stir_shaken due to wrong free function #636
Labels
Comments
gtjoseph
added
support-level-core
Functionality with core support level
and removed
triage
labels
Mar 5, 2024
gtjoseph
added a commit
to gtjoseph/asterisk
that referenced
this issue
Mar 5, 2024
In as_check_common_config, we were calling ast_std_free on raw_key but raw_key was allocated with ast_malloc so it should be freed with ast_free. Resolves: asterisk#636
asterisk-org-access-app bot
pushed a commit
that referenced
this issue
Mar 5, 2024
In as_check_common_config, we were calling ast_std_free on raw_key but raw_key was allocated with ast_malloc so it should be freed with ast_free. Resolves: #636
asterisk-org-access-app bot
pushed a commit
that referenced
this issue
Mar 5, 2024
In as_check_common_config, we were calling ast_std_free on raw_key but raw_key was allocated with ast_malloc so it should be freed with ast_free. Resolves: #636
asterisk-org-access-app bot
pushed a commit
that referenced
this issue
Mar 5, 2024
In as_check_common_config, we were calling ast_std_free on raw_key but raw_key was allocated with ast_malloc so it should be freed with ast_free. Resolves: #636
asterisk-org-access-app bot
pushed a commit
that referenced
this issue
Mar 5, 2024
In as_check_common_config, we were calling ast_std_free on raw_key but raw_key was allocated with ast_malloc so it should be freed with ast_free. Resolves: #636
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Severity
Blocker
Versions
18,20,21,master
Components/Modules
res_stir_shaken
Operating Environment
all
Frequency of Occurrence
None
Issue Description
In attestation_config:as_check_common_config is calling ast_std_free instead of ast_free on raw_key which can cause a SEGV if MALLOC_DEBUG is enabled.
Relevant log output
No response
Asterisk Issue Guidelines
The text was updated successfully, but these errors were encountered: