]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'bc/rust-hash-cleanups'
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Jul 2026 16:09:01 +0000 (09:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Jul 2026 16:09:01 +0000 (09:09 -0700)
A few memory problems in the Rust interface to C hash functions have
been corrected.  The 'Clone' implementation of 'CryptoHasher' now
properly initializes the context before cloning, and its 'Drop'
implementation now discards the context to prevent leaks.

* bc/rust-hash-cleanups:
  rust: discard hash context when finished
  hash: initialize context before cloning


Trivial merge