mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.hengli.com.au>
To: David Miller <davem@davemloft.net>
Cc: jslaby@suse.cz, linux-kernel@vger.kernel.org, jirislaby@gmail.com
Subject: Re: [PATCH] CRYPTO: ablkcipher, avoid NULL dereference
Date: Wed, 23 Jun 2010 20:01:55 +1000	[thread overview]
Message-ID: <20100623100155.GA32739@gondor.apana.org.au> (raw)
In-Reply-To: <20100621.134452.39190078.davem@davemloft.net>

On Mon, Jun 21, 2010 at 01:44:52PM -0700, David Miller wrote:
> From: Jiri Slaby <jslaby@suse.cz>
> Date: Mon, 21 Jun 2010 17:01:23 +0200
> 
> > Stanse found a potential NULL dereference in ablkcipher_next_slow.
> > Even though kmalloc fails, its retval is dereferenced later. Return
> > from that function properly earlier.
> > 
> > Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> 
> Thanks for fixing this:
> 
> Acked-by: David S. Miller <davem@davemloft.net>

Patch applied to crypt-2.6.

Thanks!
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

      reply	other threads:[~2010-06-23 10:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-21 15:01 Jiri Slaby
2010-06-21 20:44 ` David Miller
2010-06-23 10:01   ` Herbert Xu [this message]

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=20100623100155.GA32739@gondor.apana.org.au \
    --to=herbert@gondor.hengli.com.au \
    --cc=davem@davemloft.net \
    --cc=jirislaby@gmail.com \
    --cc=jslaby@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®