Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
4.12k
stars
500
forks
source link
Crash when accessing pairs on usertype from C++ #1453
Open
sagamusix opened 1 year ago
The following code crashes somewhere deep in sol while trying to increment a
pairs_iterator
.Apparently the sol code violates a Lua API invariant in Lua's
index2stack
function (api_check(L, o < L->top, "invalid index");
).