]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_stasis_snoop: Fix snoop crash
authorsungtae kim <sungtae.kim@avoxi.com>
Wed, 4 Jan 2023 12:35:20 +0000 (21:35 +0900)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 30 Jan 2023 14:26:18 +0000 (08:26 -0600)
commitf99849f8d583b7c63c197248a2dab1a51007c31e
treed9d6f240bbc2046801277d2e72ddf0a729f28539
parent56051d1ac5115ff8c55b920fc441613c487fb512
res_stasis_snoop: Fix snoop crash

Added NULL pointer check and channel lock to prevent resource release
while the chanspy is processing.

ASTERISK-29604

Change-Id: Ibdc675f98052da32333b19685b1708a3751b6d24
res/res_stasis_snoop.c