Merge commit

47ea9e4c6efd66735cbfed4ef3ac8b76e16b392d

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

Junio C Hamano <gitster@pobox.com> ยท 2026-07-27 16:09 UTC

Browse files

Combined diff: only what this merge did beyond taking one side. Added lines are colored by the parent they came from; bold lines came from none of them; removed lines are red.

No changes beyond merging its parents: every hunk came cleanly from one side.