app_queue: Fix crash when using 'b' option on non-ringall queue.
authorJoshua Colp <jcolp@digium.com>
Wed, 2 Jan 2019 17:33:58 +0000 (17:33 +0000)
committerJoshua C. Colp <jcolp@digium.com>
Wed, 2 Jan 2019 17:35:27 +0000 (12:35 -0500)
commitb7b080a0aa6da8c3b370824d73d6815adfdf266f
tree68788de3e7929a3d986c9071333048997ea5a30f
parent192d9dd9c5d4a19b782a1c284c1b438195071d40
app_queue: Fix crash when using 'b' option on non-ringall queue.

When using the 'b' option to Queue with a queue that was not configured
for ring all a crash would occur as the wrong pointer would be used.

ASTERISK-28218

Change-Id: If1390f64e321047dff24fd2410c95dde74904980
apps/app_queue.c