diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-08-18 14:42:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2020-08-18 14:42:11 -0300 |
commit | 6bc0f13505bf5d4f613d725fe008c79e72f83ddf (patch) | |
tree | 80d36907c5d8b030ba7928d6ac30ac953cece612 /all | |
parent | 8a89da07baf43f0dea4b06a7b2780302d75cb61c (diff) | |
download | lua-6bc0f13505bf5d4f613d725fe008c79e72f83ddf.tar.gz lua-6bc0f13505bf5d4f613d725fe008c79e72f83ddf.tar.bz2 lua-6bc0f13505bf5d4f613d725fe008c79e72f83ddf.zip |
Fixed bug of long strings in binary chunks
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'.
Diffstat (limited to 'all')
0 files changed, 0 insertions, 0 deletions