git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Rust hash cleanups

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jul 19, 2026, 01:08 UTC
Message-ID
<20260719010842.17991-1-sandals@crustytoothpaste.net>

Peff recently sent out a series to fix several memory leaks with our hashing code when not using the default block algorithm. This series follows up with a few fixes to our Rust hash code, which calls the C code, to fix various memory problems.

brian m. carlson (2):
  hash: initialize context before cloning
  rust: discard hash context when finished
 src/hash.rs | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
Next: brian m. carlson
Message 1 of 4 in “Rust hash cleanups”
  1. 0/2 Rust hash cleanupsbrian m. carlson, Jul 19, 2026
  2. 2/2 rust: discard hash context when finishedbrian m. carlson, Jul 19, 2026
  3. 1/2 hash: initialize context before cloningbrian m. carlson, Jul 19, 2026
  4. Jeff KingJul 19, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.