commit | 75ea9ccbea7c4886f30da147fb67b693b2624c26 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Aug 18 14:48:43 2020 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Aug 18 14:48:43 2020 -0300 |
tree | 171be7ee405be5a3a64771116752c74111357a86 | |
parent | 5027298b46c1e436bc7a007554139a29f34c2971 [diff] |
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'. (This commit also fixes the identation in 'l_alloc'.)