lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

 

It seems that the latest commit haven’t completely fix the bug. Here’s the POC:

function errfunc()

    return pcall ^ xpcall(setmetatable({}, {}), errfunc)

end

coroutine.wrap(function() print(xpcall(test, errfunc)) end)()

 

 

Tested on Ubuntu, lua git hash: e1d8770f12542d34a3e32b825c95b93f8a341ee1

 

 

Best,

Yongheng

 

Sent from Mail for Windows 10