[asterisk-bugs] [JIRA] (ASTERISK-30311) func_presencestate: Fix invalid memory access.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Dec 8 10:22:51 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260838#comment-260838 ] 

Friendly Automation commented on ASTERISK-30311:
------------------------------------------------

Change 19665 merged by Friendly Automation:
func_presencestate: Fix invalid memory access.

[https://gerrit.asterisk.org/c/asterisk/+/19665|https://gerrit.asterisk.org/c/asterisk/+/19665]

> 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