mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +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:
		| @@ -864,6 +864,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, | ||||
| #endif | ||||
| 	struct ast_party_connected_line connected_caller; | ||||
| 	struct ast_str *featurecode = ast_str_alloca(FEATURE_MAX_LEN + 1); | ||||
|  | ||||
| 	ast_party_connected_line_init(&connected_caller); | ||||
| 	if (single) { | ||||
| 		/* Turn off hold music, etc */ | ||||
| 		if (!ast_test_flag64(outgoing, OPT_MUSICBACK | OPT_RINGBACK)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user