]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx_builtin: Properly handle hangup during Background
authorSean Bright <sean.bright@gmail.com>
Wed, 31 May 2017 16:45:45 +0000 (12:45 -0400)
committerSean Bright <sean.bright@gmail.com>
Wed, 31 May 2017 17:22:12 +0000 (13:22 -0400)
commit283cc59af746896a2b2bc23899fc86118895f7c0
tree39757c8b8f5baa77d8a499890ee3d2c50e154b46
parentdc05183f4b7d728534ec6fa5f3fc21802396aabf
pbx_builtin: Properly handle hangup during Background

Before this patch, when a user hung up during a Background, we would
stuff 0xff into a char and attempt a dialplan lookup of it. This caused
problems for some realtime engines which interpreted the value as the
beginning of an invalid UTF-8 sequence.

ASTERISK-19291 #close
Reported by: Andrew Nowrot

Change-Id: I8ca6da93252d61c76ebdb46a4aa65e73ca985358
main/pbx_builtins.c