diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-26 10:53:55 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-26 10:53:55 -0200 |
commit | 89f98c099576591f8f65b9526d0f24de6dec95e8 (patch) | |
tree | 153ee308d5f8240e1299802dedb5a9c93c35b6a7 /bugs | |
parent | b892f0a8774f573d7ec9b02617428871b8d3a2b3 (diff) | |
download | lua-89f98c099576591f8f65b9526d0f24de6dec95e8.tar.gz lua-89f98c099576591f8f65b9526d0f24de6dec95e8.tar.bz2 lua-89f98c099576591f8f65b9526d0f24de6dec95e8.zip |
in function `read_file', realloc() doesn't free the buffer if it can't
allocate new memory
Diffstat (limited to 'bugs')
-rw-r--r-- | bugs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -229,3 +229,9 @@ Wed Sep 27 13:39:45 EST 2000 | |||
229 | >> (e.g. «a = {print'foo'}») | 229 | >> (e.g. «a = {print'foo'}») |
230 | (by Edgar Toernig; since 4.0b, deriving from previous bug) | 230 | (by Edgar Toernig; since 4.0b, deriving from previous bug) |
231 | 231 | ||
232 | ** liolib.c | ||
233 | Thu Oct 26 10:50:46 EDT 2000 | ||
234 | >> in function `read_file', realloc() doesn't free the buffer if it can't | ||
235 | >> allocate new memory | ||
236 | (by Mauro Vezzosi; since 4.0b) | ||
237 | |||