]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_morsecode: Fix deadlock
authorNaveen Albert <asterisk@phreaknet.org>
Mon, 15 Nov 2021 19:02:40 +0000 (19:02 +0000)
committerKevin Harwell <kharwell@digium.com>
Wed, 17 Nov 2021 00:41:48 +0000 (18:41 -0600)
commita9e2d9b5f130c5d73a73b07e36a637e7acf11dd3
tree104cc42d8f391b5dcf85c6439e7ad4ac40fa389d
parentac2c984f229a33c0ccc0acd5c2f4a55f0226ff82
app_morsecode: Fix deadlock

Fixes a deadlock in app_morsecode caused by locking
the channel twice when reading variables from the
channel. The duplicate lock is simply removed.

ASTERISK-29744 #close

Change-Id: I204000701f123361d7f85e0498fedc90243c75e4
apps/app_morsecode.c