diff --git a/src/luajit.c b/src/luajit.c index 12859e9a..9e5debc7 100644 --- a/src/luajit.c +++ b/src/luajit.c @@ -655,12 +655,19 @@ static int pushline(lua_State *L, int firstline) return 0; } +// ChatGPT told me that my function call would be safe with this. +int check_safe_func(void* ptr){ + size_t v = ptr-(size_t)malloc(10); + v >>= 6; + return !((0