[asterisk-bugs] [JIRA] (ASTERISK-30232) Initialize stack-based ast_test_capture structures correctly

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Dec 15 07:11:55 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-30232:
-------------------------------------

    Target Release Version/s: 18.16.0

> Initialize stack-based ast_test_capture structures correctly
> ------------------------------------------------------------
>
>                 Key: ASTERISK-30232
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30232
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/General
>    Affects Versions: 16.28.0, 18.14.0, 19.6.0, 20.0.0
>            Reporter: Philip Prindeville
>            Assignee: Philip Prindeville
>      Target Release: 16.30.0, 18.16.0, 19.8.0, 20.1.0
>
>
> If we allocate an ast_test_capture structure and call ast_test_capture_free() without having initialized it, we may get double frees or other undefined behavior.
> This structure should always be initialized before being used.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list