[Asterisk-code-review] astobj2.c: Fix core when ref_log enabled In the AO2_ALLOC_OPT_LOCK_NO... (asterisk[16])

Michael Bradeen asteriskteam at digium.com
Thu Nov 18 09:59:55 CST 2021


Michael Bradeen has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/17501 )

Change subject: astobj2.c: Fix core when ref_log enabled In the AO2_ALLOC_OPT_LOCK_NOLOCK case the referenced obj structure is freed, but is then referenced later if ref_log is enabled. The change is to store the obj->priv_data.options value locally and reference it instead of the value from the freed obj
......................................................................


Patch Set 3:

(1 comment)

Patchset:

PS3: 
Amended commit messages.



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

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I60cc5dc1f5a4330e7ad56976fc38a42de0ab6072
Gerrit-Change-Number: 17501
Gerrit-PatchSet: 3
Gerrit-Owner: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Thu, 18 Nov 2021 15:59:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211118/7379be99/attachment.html>


More information about the asterisk-code-review mailing list