-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi! We found a crashing test case when running the fuzzing driver luaL_dostring_test
.
PoC:
local
e,_,V,_,W,V,_,V,W,_,V,_,_,_,_,_,W,_,_,W,W,W,W,W,W,x,_,V,_,W,_,W,_,W,_,E,_,W,E,_,V,_,W,_,W,_,N,_,V,W,_,V,_,W,_,_,V,W,W,W,E,V,W,W,W,W,W,W,W,W,W,W,x,V,V,_,_,_,V,_,W,V,_,V,W,_,V,_,_,_,_,_,W,_,_,W,W,W,W,W,W,x,_,V,_,W,_,W,_,W,_,E,_,W,W,W,W,W,a,_,V,V,V,_,V,W,_,_,V,_,V,V,_,V,W,W,W,W,W,W,W,W,V,W,_,V,_,_,_,_,_,W,_,_,W,W,W,W,W,W,x,N,W,W,x,_,V,N,_,_,_,_,W,_,E,_,W,W,_,V,_,_,_,_,_,E,V,V,_,_,_,V,_,W,V,_,V,W,_,V,_,_,W,W,W,W,x,V,V,_,W,_,V,_,_,V,_,V,V,_,V,_,W,_,W,_,W,_,W,W,W,W,W,W,W,c,_,V,_,W,W,W,W,W,x,V,N,W,W,W,W,W,W,W,W,B,R
Output:
luaL_dostring_test: lcode.c:401: int luaK_codeABCk(FuncState *, OpCode, int, int, int, int): Assertion `A <= ((1<<8)-1) && B <= ((1<<8)-1) && C <= ((1<<8)-1) && (k & ~1) == 0' failed.
Aborted (core dumped)
Commid id: db2091f
But I'm having trouble reproducing it in the official Lua program. May I ask for some help or hints here?
Metadata
Metadata
Assignees
Labels
No labels