]> git.99rst.org Git - git.git/commitdiff
Merge branch 'bc/rust-hash-cleanups'
authorJunio C Hamano <redacted>
Mon, 27 Jul 2026 16:09:01 +0000 (09:09 -0700)
committerJunio C Hamano <redacted>
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
git clone https://git.99rst.org/PROJECT