From: David Miller on
From: Jiri Slaby <jslaby(a)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(a)suse.cz>

Thanks for fixing this:

Acked-by: David S. Miller <davem(a)davemloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Herbert Xu on
On Mon, Jun 21, 2010 at 01:44:52PM -0700, David Miller wrote:
> From: Jiri Slaby <jslaby(a)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(a)suse.cz>
>
> Thanks for fixing this:
>
> Acked-by: David S. Miller <davem(a)davemloft.net>

Patch applied to crypt-2.6.

Thanks!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert(a)gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/