mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 14:56:58 +00:00
Fixed crashes from issue8824 review board channel locking changes.
The local struct ast_party_connected_line connected_caller variable was uninitialized when the copy function was called. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@192590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2846,6 +2846,8 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
|
||||
struct ast_party_connected_line connected_caller;
|
||||
char *inchan_name;
|
||||
|
||||
ast_party_connected_line_init(&connected_caller);
|
||||
|
||||
ast_channel_lock(qe->chan);
|
||||
inchan_name = ast_strdupa(qe->chan->name);
|
||||
ast_channel_unlock(qe->chan);
|
||||
|
Reference in New Issue
Block a user