]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_musiconhold: avoid moh state access on unlocked chan
authorMike Bradeen <mbradeen@sangoma.com>
Wed, 31 May 2023 16:37:53 +0000 (10:37 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 10 Jul 2023 11:49:48 +0000 (11:49 +0000)
commit9dbd80ab73f38b4dc1bc5fc89530f7873fb5017b
treeedf1e055ff4d04ae672d1f38764239182a1515a6
parent714950bd7c597595851dfe4bdff0ff9a944db49e
res_musiconhold: avoid moh state access on unlocked chan

Move channel unlock to after moh state access to avoid
potential unlocked access to state.

Resolves: #133
(cherry picked from commit 9c889911adfe733639391b4f769057669c263e71)
res/res_musiconhold.c