Files
skynet/lualib-src
Kezhu Wang bfe8eeb4b3 Fix dangling c pointer to lua string value
Lua string object referenced by C pointer from lua_tolstring() was
removed from stack by lua_settop(L,0).

Lua 5.3 Reference Manual says:

> Because Lua has garbage collection, there is no guarantee that the
> pointer returned by lua_tolstring will be valid after the
> corresponding Lua value is removed from the stack.

That is it.

Introduced in commit 9937081854.
2015-12-14 16:16:37 +08:00
..
2015-12-14 12:25:26 +08:00
2014-08-28 18:43:25 +08:00
2015-08-13 21:00:20 +08:00
2015-09-18 14:13:16 +08:00
2015-08-13 21:00:20 +08:00
2015-08-21 13:52:04 +08:00
2014-08-16 15:19:01 +08:00
2015-08-13 21:00:20 +08:00
2015-02-09 23:40:54 +08:00
2015-11-12 11:15:50 +08:00
2014-04-22 20:00:59 +08:00
2012-08-29 14:33:24 +08:00
2015-11-16 19:48:38 +08:00
2015-11-13 17:28:02 +08:00
2015-08-13 21:00:20 +08:00