projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a625354
)
Fix bug in OPENSSL_LH_flush
author
Hugo Landau
<hlandau@openssl.org>
Thu, 21 Apr 2022 15:10:33 +0000
(16:10 +0100)
committer
Tomas Mraz
<tomas@openssl.org>
Mon, 25 Apr 2022 11:19:41 +0000
(13:19 +0200)
Fixes #18139.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18141)
crypto/lhash/lhash.c
patch
|
blob
|
history
diff --git
a/crypto/lhash/lhash.c
b/crypto/lhash/lhash.c
index 2a574fbfe6aa82fd6afe13f04eb598ee5d2d8aee..16f482db68a923b9a7c69a2351522e336b23260a 100644
(file)
--- a/
crypto/lhash/lhash.c
+++ b/
crypto/lhash/lhash.c
@@
-100,6
+100,8
@@
void OPENSSL_LH_flush(OPENSSL_LHASH *lh)
}
lh->b[i] = NULL;
}
+
+ lh->num_items = 0;
}
void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data)