[asterisk-bugs] [JIRA] (ASTERISK-30311) func_presencestate: Fix invalid memory access.
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Thu Dec 8 10:20:51 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260837#comment-260837 ]
Friendly Automation commented on ASTERISK-30311:
------------------------------------------------
Change 19562 merged by Joshua Colp:
func_presencestate: Fix invalid memory access.
[https://gerrit.asterisk.org/c/asterisk/+/19562|https://gerrit.asterisk.org/c/asterisk/+/19562]
> func_presencestate: Fix invalid memory access.
> ----------------------------------------------
>
> Key: ASTERISK-30311
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30311
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Functions/func_presencestate
> Affects Versions: 20.0.0
> Reporter: N A
> Assignee: N A
>
> func_presencestate can access invalid memory when reading data from AstDB that is not in an expected format. This explicitly initializes pointers to NULL so that this cannot happen.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list