]> 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:28:33 +0000 (08:28 -0600)
commit1da489a434adfbed422ac7cfdde4ce9ff99897d9
treecaeecdbd0d45d52715d60fbb15e664ed781b00ea
parentc448dcd2f0e67acf527662574193994559ae853a
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