]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit47ea9e4c6efd66735cbfed4ef3ac8b76e16b392d
treea08ee3b38f9296c8723b0b6c498a35cc58e568e5
parentf364885cb3d7ebb324d445fc9523156db278755f
parentfdfcd7543e8c2c045ea215b17e6e772a9770018a
Merge branch 'bc/rust-hash-cleanups'

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