Skip to content

Commit 4acf745

Browse files
committed
fix a use-after-free in htable
1 parent 8ed9e11 commit 4acf745

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

htable.inc

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ static void **HTNAME##_lookup_bp(htable_t *h, void *key) \
7171
\
7272
sz = hash_size(h); \
7373
maxprobe = max_probe(sz); \
74+
tab = h->table; \
7475
\
7576
goto retry_bp; \
7677
\

0 commit comments

Comments
 (0)