mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	AST-2009-005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -72,7 +72,7 @@ static int isexten_function_read(struct ast_channel *chan, const char *cmd, char | ||||
|  | ||||
| 	if (!ast_strlen_zero(args.priority)) { | ||||
| 		int priority_num; | ||||
| 		if (sscanf(args.priority, "%d", &priority_num) == 1 && priority_num > 0) { | ||||
| 		if (sscanf(args.priority, "%30d", &priority_num) == 1 && priority_num > 0) { | ||||
| 			int res; | ||||
| 			res = ast_exists_extension(chan, args.context, args.exten, priority_num,  | ||||
| 				chan->cid.cid_num); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user