Skip to content
Snippets Groups Projects
Commit 8758fab5 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix #122: box.pack('p', t) segfault on recursive tables

This patch limits maximum recursion depth for luaL_packsize and luaL_packvalue
functions to 16 nested tables. This check is needed to prevent a crash
on recursive Lua tables.
parent 1c7d2b28
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment