ast_framehook_detach() must be called with the channel locked.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 23 Aug 2016 15:42:08 +0000 (10:42 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 25 Aug 2016 22:11:50 +0000 (17:11 -0500)
commitb86771d1bf5c1db3561048d5bd5e679a6fb340fc
tree7a4f5a460b2d77f3f8d1e6a6b977b020de384104
parent5744f434f0eaba9633e7574d9cd0f8193dfd67e1
ast_framehook_detach() must be called with the channel locked.

The framehook container could become corrupted if the channel lock is not
held before calling.

Change-Id: If0a1c7ba0484ed3a191106a7516526b905952584
res/res_fax.c
res/res_pjsip_refer.c