shithub: femtolisp

Download patch

ref: 1e6c71f655d39345d6d2586656f30af9a222336f
parent: 3f28e8dc94f5db578d1bdcdc8fd32a4e55046307
author: Jeff Bezanson <jeff.bezanson@gmail.com>
date: Mon Oct 21 20:25:25 EDT 2013

fix a use-after-free memory bug

--- a/llt/htable.inc
+++ b/llt/htable.inc
@@ -71,6 +71,7 @@
                                                                         \
     sz = hash_size(h);                                                  \
     maxprobe = max_probe(sz);                                           \
+    tab = h->table;                                                     \
                                                                         \
     goto retry_bp;                                                      \
                                                                         \