Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Dan Carpenter <dan@pereq.eu>
To: Jarkko Sakkinen <jarkko@kernel.org>
Cc: "David Howells" <dhowells@redhat.com>,
	"Lukas Wunner" <lukas@wunner.de>,
	"Ignat Korchagin" <ignat@linux.win>,
	"Herbert Xu" <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	"David Woodhouse" <dwmw2@infradead.org>,
	"Eric Snowberg" <eric.snowberg@oracle.com>,
	"Karthik Bhargavan" <karthik@pereq.eu>,
	"Clément Blaudeau" <clement@cryspen.com>,
	keyrings@vger.kernel.org, linux-crypto@vger.kernel.org
Subject: Re: [PATCH 4/5] pkcs7: Reset the signer identifier fields and check them
Date: Tue, 1 Dec 2026 19:36:51 +0300	[thread overview]
Message-ID: <aw73owig1ADRB_iF@stanley.mountain> (raw)
In-Reply-To: <aw71FjQrrlN-NhrD@kernel.org>

On Tue, Dec 01, 2026 at 06:25:58PM +0200, Jarkko Sakkinen wrote:
> On Tue, Dec 01, 2026 at 11:22:30AM +0300, Dan Carpenter wrote:
> > This bug isn't very serious.
> 
> Why I need to think about this?
> 

It's the same as patch 3.  You shouldn't re-use garbage data left
from the previous call even though the result ends up being the same
either way.

regards,
dan carpenter


  reply	other threads:[~2026-12-01 16:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  8:22 [PATCH 0/5] pkcs7: Fix some certificate handling bugs Dan Carpenter
2026-12-01  8:22 ` [PATCH 1/5] pkcs7: Don't trust a blacklisted certificate Dan Carpenter
2026-12-01 15:42   ` Jarkko Sakkinen
2026-12-01 15:46     ` Jarkko Sakkinen
2026-12-01  8:22 ` [PATCH 2/5] certs: Fix error checking in is_key_on_revocation_list() Dan Carpenter
2026-12-01 16:22   ` Jarkko Sakkinen
2026-12-01  8:22 ` [PATCH 3/5] pkcs7: Clear the ->verified flag before checking trust Dan Carpenter
2026-12-01 16:25   ` Jarkko Sakkinen
2026-12-01  8:22 ` [PATCH 4/5] pkcs7: Reset the signer identifier fields and check them Dan Carpenter
2026-12-01 16:25   ` Jarkko Sakkinen
2026-12-01 16:36     ` Dan Carpenter [this message]
2026-12-01  8:22 ` [PATCH 5/5] pkcs7: Fix support for subjectKeyIdentifier signers Dan Carpenter

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=aw73owig1ADRB_iF@stanley.mountain \
    --to=dan@pereq.eu \
    --cc=clement@cryspen.com \
    --cc=davem@davemloft.net \
    --cc=dhowells@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=eric.snowberg@oracle.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=ignat@linux.win \
    --cc=jarkko@kernel.org \
    --cc=karthik@pereq.eu \
    --cc=keyrings@vger.kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=lukas@wunner.de \
    /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