Skip to content
Snippets Groups Projects
Commit 2e3c81de authored by Dmitry Khominich's avatar Dmitry Khominich Committed by Kirill Yukhin
Browse files

error: use int64_t as reference counter

Before it was unsafe to use error.prev, box.error.last(), or any error
method that increments error reference counter. Any of them could throw a
Lua error in case of INT32_MAX overflow.

This patch uses int64_t as error reference counter making it impossible
to get counter overflow.

Closes #4902
parent 4450419c
No related branches found
No related tags found
Loading
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