]> git.ipfire.org Git - thirdparty/curl.git/commit
hash: add asserts in hash_element_dtor()
authorDaniel Stenberg <daniel@haxx.se>
Wed, 1 Jan 2025 19:37:47 +0000 (20:37 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 1 Jan 2025 20:13:38 +0000 (21:13 +0100)
commit7fb113f01f33bd11b017bc4893c2d1291f4cf1a3
tree5f3bacf45d25d7ada06e80661cebbb956d3d450a
parent7fed7274e4ebcbeb8c777d32bb008a5ad580d74c
hash: add asserts in hash_element_dtor()

This just adds a precaution and shows a clear intention in the code.
Added because CodeSonar is reporting a false positive Use After Free on
this function.

Closes #15889
lib/hash.c