]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_followme.c: Grab reference on nativeformats before using it
authorMatthew Fredrickson <matt@fredricknet.net>
Thu, 26 Oct 2023 02:14:48 +0000 (21:14 -0500)
committerAsterisk Development Team <asteriskteam@digium.com>
Fri, 12 Jan 2024 18:21:32 +0000 (18:21 +0000)
commitd8434ca398e1f4244dfd782f8beb4081d98161ad
tree798283d28fa2326e069aab34f53b11feba1299dd
parent1701775d07ab782ffada7e6d5993d958179cec1e
app_followme.c: Grab reference on nativeformats before using it

Fixes a crash due to a lack of proper reference on the nativeformats
object before passing it into ast_request().  Also found potentially
similar use case bugs in app_chanisavail.c, bridge.c, and bridge_basic.c

Fixes: #388
(cherry picked from commit eeae61b2f827bd3b32820344d66ba4a85e3ae3cc)
apps/app_chanisavail.c
apps/app_followme.c
main/bridge.c
main/bridge_basic.c