aboutsummaryrefslogtreecommitdiff
path: root/dist.info
diff options
context:
space:
mode:
authormpeterv <mpeterval@gmail.com>2015-02-24 23:36:59 +0300
committermpeterv <mpeterval@gmail.com>2015-02-24 23:36:59 +0300
commit65f61fa6047a09347972af1214f45149be311fb6 (patch)
treefbf87271a50509898e48ee0ca2cdc6d83a3b5ae7 /dist.info
parentbe58bb0bf683c5c15589ecf68367a1fbaa9e0a8f (diff)
downloadlanes-65f61fa6047a09347972af1214f45149be311fb6.tar.gz
lanes-65f61fa6047a09347972af1214f45149be311fb6.tar.bz2
lanes-65f61fa6047a09347972af1214f45149be311fb6.zip
Fix segfault in LG_lane_new
STACK_END macro was used to check stack size of child Lua state _after_ its thread was launched. That could lead to the check failing as the child thread started manipulating the stack. The macro then called lua_error on the child state from the parent thread, causing a segfault as Lua C API is not thread-safe. The fix is to place STACK_END statements before THREAD_CREATE statement.
Diffstat (limited to 'dist.info')
0 files changed, 0 insertions, 0 deletions