mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	only process args that exist
ASTERISK-18395 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@341809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -599,7 +599,7 @@ static void lua_concat_args(lua_State *L, int start, int nargs) { | ||||
| 	int concat = 0; | ||||
| 	int i = start + 1; | ||||
|  | ||||
| 	if (!lua_isnil(L, start)) { | ||||
| 	if (start <= nargs && !lua_isnil(L, start)) { | ||||
| 		lua_pushvalue(L, start); | ||||
| 		concat += 1; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user