luabug_nccalls
A small C program which reproduces a bug in Lua when a negative number is assigned to L->nCcalls (unsigned short), so it becomes >=LUAI_MAXCCALLS.
To build without a patch:
cmake . -Bbuild
cmake --build build
./build/luabug_nccallsTo build with a patch:
cmake . -Bbuild -DLUA_PATCH=1
cmake --build build
./build/luabug_nccalls