diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-08-18 14:48:43 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-08-18 14:48:43 -0300 |
commit | 75ea9ccbea7c4886f30da147fb67b693b2624c26 (patch) | |
tree | 171be7ee405be5a3a64771116752c74111357a86 /ltests.c | |
parent | 5027298b46c1e436bc7a007554139a29f34c2971 (diff) | |
download | lua-v5.3.tar.gz lua-v5.3.tar.bz2 lua-v5.3.zip |
When "undumping" a long string, the function 'LoadVector' can call the
reader function, which can run the garbage collector, which can collect
the string being read. So, the string must be anchored during the call
to 'LoadVector'. (This commit also fixes the identation in 'l_alloc'.)
Diffstat (limited to 'ltests.c')
0 files changed, 0 insertions, 0 deletions