]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'bc/rust-hash-cleanups' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 21 Jul 2026 17:23:51 +0000 (10:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jul 2026 17:23:51 +0000 (10:23 -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