]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx_ael: Fix crash and lockup issue regarding 'ael reload'
authorMark Murawski <markm@intellasoft.net>
Tue, 31 Aug 2021 20:03:56 +0000 (16:03 -0400)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 2 Sep 2021 19:16:16 +0000 (14:16 -0500)
commit185321066f76e2edb0617a278ae8ba28c6b1a260
tree346d337c1dafafcbe38ec2a5e5c21a2dfa0e7951
parent0e4a1c50791f236b227b0b6a9f5b7fe463ebb301
pbx_ael:  Fix crash and lockup issue regarding 'ael reload'

Currently pbx_ael does not check if a reload is currently pending
before proceeding with a reload. This can cause multiple threads to
operate at the same time on what should be mutex protected data. This
change adds protection to reloading to ensure only one ael reload is
executing at a time.

ASTERISK-29609 #close

Change-Id: I5ed392ad226f6e4e7696ad742076d3e45c57af35
pbx/pbx_ael.c