]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Fix hint updates, allow dup. hints
authorSteve Davies <steve@one47.co.uk>
Wed, 15 Dec 2021 12:23:45 +0000 (12:23 +0000)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 5 Jan 2022 14:08:54 +0000 (08:08 -0600)
commit16a63027c0d1e354ba627c8644ec93edcf8e6d6b
tree2713d3ff2aac38cb280ee62628ca3cd75d5b333c
parent4fe94bab097d01e7524e4462c005e5a57f0ad1f4
app_queue: Fix hint updates, allow dup. hints

A previous patch for ASTERISK_29578 caused a 'leak' of
extension state information across queues, causing the
state of the first member of unrelated queues to be
updated in addition to the correct member. Which queues
and members depended on the order of queues in the
iterator.

Additionally, it is possible to use the same 'hint:' on
multiple queue members, so the update cannot break out
of the update loop early when a match is found.

ASTERISK-29806 #close

Change-Id: If2c1d1cc2a752afd9286d79710fc818596e7a7ad
apps/app_queue.c