summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2015-01-25 13:42:22 +0000
committerMatthew Jordan <mjordan@digium.com>2015-01-25 13:42:22 +0000
commit1fc823c770461689d44a1a8bd14f57a6ddf92372 (patch)
tree76d235d6d9966e59c2c99e56393ee396c1854651 /configure
parente302116e40811660c39e2ceab54d1120e19d5990 (diff)
dynamic realtime: Updates fail to work due to update fields being passed over
When a crash was fixed due to usage of the REALTIME function in r423003, a regression was introduced into ast_update2_realtime where the update fields passed to the function would be skipped and the lookup field processed twice. The use of this function is a bit interesting: A variable argument list is used with two sentinel values - the first marks the end of the lookup fields/values; the second marks the end of the update fields/values. Unfortunately, ast_update2_realtime parses over the lookup fields twice, as opposed to parsing over the update fields. This causes the lookups to succeed, but the updates itself to have no effect. Note that the most common instance of this problem occurred in app_voicemail during the updating of a mailbox password. Thanks to the issue reporter, Paddy Grice, for pointing out the problem. Review: https://reviewboard.asterisk.org/r/4356/ ASTERISK-24231 ASTERISK-24626 #close Reported by: Paddy Grice git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions