Skip to content

fix: harden hashtable value cleanup#81

Merged
AlexJuca merged 1 commit into
mainfrom
codex/fix/hashtable-value-cleanup
Apr 27, 2026
Merged

fix: harden hashtable value cleanup#81
AlexJuca merged 1 commit into
mainfrom
codex/fix/hashtable-value-cleanup

Conversation

@AlexJuca
Copy link
Copy Markdown
Owner

This PR addresses the following issue(s):

Adds free_value_entry() so callers do not duplicate value-copy cleanup, makes get_value() const-correct and safe for zero-length values, rejects invalid hashtable inputs, and adds sanitizer-friendly hashtable coverage for replacement, delete, and table free paths.

@AlexJuca AlexJuca self-assigned this Apr 27, 2026
@AlexJuca AlexJuca added the enhancement New feature or request label Apr 27, 2026
@AlexJuca AlexJuca merged commit 9996abe into main Apr 27, 2026
5 checks passed
@AlexJuca AlexJuca deleted the codex/fix/hashtable-value-cleanup branch April 27, 2026 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant