Git development
 help / color / mirror / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: <git@vger.kernel.org>
Cc: Junio C Hamano <gitster@pobox.com>, Jeff King <peff@peff.net>,
	Patrick Steinhardt <ps@pks.im>
Subject: [PATCH 0/2] Rust hash cleanups
Date: Sun, 19 Jul 2026 01:08:40 +0000	[thread overview]
Message-ID: <20260719010842.17991-1-sandals@crustytoothpaste.net> (raw)

Peff recently sent out a series to fix several memory leaks with our
hashing code when not using the default block algorithm.  This series
follows up with a few fixes to our Rust hash code, which calls the C
code, to fix various memory problems.

brian m. carlson (2):
  hash: initialize context before cloning
  rust: discard hash context when finished

 src/hash.rs | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)


             reply	other threads:[~2026-07-19  1:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-19  1:08 brian m. carlson [this message]
2026-07-19  1:08 ` [PATCH 1/2] hash: initialize context before cloning brian m. carlson
2026-07-19  1:08 ` [PATCH 2/2] rust: discard hash context when finished brian m. carlson
2026-07-19  8:07 ` [PATCH 0/2] Rust hash cleanups Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260719010842.17991-1-sandals@crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=peff@peff.net \
    --cc=ps@pks.im \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox