summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2015-04-16 10:51:50 -0500
committerKevin Harwell <kharwell@digium.com>2015-04-16 15:38:07 -0500
commitb56c1914fa54817e88be92ed8394aa6f64aa26ad (patch)
tree9fbd84914e4a8bd906b2678ac9591a98caab8514 /funcs
parent5d218cde872ed3fa2dc5ad92ed3a17b413ce8203 (diff)
bridge.c: NULL app causes crash during attended transfer
Due to a race condition there was a chance that during an attended transfer the channel's application would return NULL. This, of course, would cause a crash when attempting to access the memory. This patch retrieves the channel's app at an earlier time in processing in hopes that the app name is available. However, if it is not then "unknown" is used instead. Since some string value is now always present the crash can no longer occur. ASTERISK-24869 #close Reported by: viniciusfontes Review: Change-Id: I5134b84c4524906d8148817719d76ffb306488ac
Diffstat (limited to 'funcs')
0 files changed, 0 insertions, 0 deletions