[Asterisk-code-review] srtp: Fix possible race condition, and add NULL checks (...asterisk[13])

Kevin Harwell asteriskteam at digium.com
Thu Aug 8 11:30:01 CDT 2019


Kevin Harwell has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/11698 )

Change subject: srtp: Fix possible race condition, and add NULL checks
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/11698/1/res/res_srtp.c 
File res/res_srtp.c:

https://gerrit.asterisk.org/#/c/11698/1/res/res_srtp.c@198 
PS1, Line 198: 		ast_log(LOG_ERROR, "Unable to allocate memory for srtp policies\n");
> Does ao2_t_container_alloc_hash() not log an error if it fails?
Yes and no it seems. I'll go ahead and remove it though



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11698
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I240e11cbb1e9ea8083d59d50db069891228fe5cc
Gerrit-Change-Number: 11698
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-CC: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Thu, 08 Aug 2019 16:30:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190808/80ef93a7/attachment.html>


More information about the asterisk-code-review mailing list