mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: crypto: algif_skcipher - Require setkey before accept(2)
       [not found] <201512241831.VN3LufSe%fengguang.wu@intel.com>
@ 2015-12-25  6:54 ` Julia Lawall
  2015-12-25  7:41   ` Herbert Xu
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2015-12-25  6:54 UTC (permalink / raw)
  To: Herbert Xu
  Cc: kbuild-all, Dmitry Vyukov, David S. Miller, linux-crypto, LKML,
	syzkaller, Kostya Serebryany, Alexander Potapenko, Eric Dumazet,
	Sasha Levin, Kees Cook

Lines 766, 767 don't look correct at all.

julia

On Thu, 24 Dec 2015, kbuild test robot wrote:

> In-Reply-To: <20151224093902.GA8235@gondor.apana.org.au>
> 
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
> Hi Herbert,
> 
> [auto build test WARNING on crypto/master]
> [also build test WARNING on next-20151223]
> [cannot apply to v4.4-rc6]
> 
> url:    https://github.com/0day-ci/linux/commits/Herbert-Xu/crypto-algif_skcipher-Require-setkey-before-accept-2/20151224-174142
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git master
> :::::: branch date: 63 minutes ago
> :::::: commit date: 63 minutes ago
> 
> >> crypto/algif_skcipher.c:767:18-21: ERROR: reference preceded by free on line 766
> 
> git remote add linux-review https://github.com/0day-ci/linux
> git remote update linux-review
> git checkout 7f3e28b295bcfeb7fba928af15780f1bb3051430
> vim +767 crypto/algif_skcipher.c
> 
> 7f3e28b2 Herbert Xu 2015-12-24  760  	tfm = kzalloc(sizeof(*tfm), GFP_KERNEL);
> 7f3e28b2 Herbert Xu 2015-12-24  761  	if (!tfm)
> 7f3e28b2 Herbert Xu 2015-12-24  762  		return ERR_PTR(-ENOMEM);
> 7f3e28b2 Herbert Xu 2015-12-24  763  
> 7f3e28b2 Herbert Xu 2015-12-24  764  	tfm->skcipher = crypto_alloc_skcipher(name, type, mask);
> 7f3e28b2 Herbert Xu 2015-12-24  765  	if (IS_ERR(tfm->skcipher)) {
> 7f3e28b2 Herbert Xu 2015-12-24 @766  		kfree(tfm);
> 7f3e28b2 Herbert Xu 2015-12-24 @767  		return ERR_CAST(tfm->skcipher);
> 7f3e28b2 Herbert Xu 2015-12-24  768  	}
> 7f3e28b2 Herbert Xu 2015-12-24  769  
> 7f3e28b2 Herbert Xu 2015-12-24  770  	return tfm;
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: crypto: algif_skcipher - Require setkey before accept(2)
  2015-12-25  6:54 ` crypto: algif_skcipher - Require setkey before accept(2) Julia Lawall
@ 2015-12-25  7:41   ` Herbert Xu
  2015-12-25  8:38     ` Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Xu @ 2015-12-25  7:41 UTC (permalink / raw)
  To: Julia Lawall
  Cc: kbuild-all, Dmitry Vyukov, David S. Miller, linux-crypto, LKML,
	syzkaller, Kostya Serebryany, Alexander Potapenko, Eric Dumazet,
	Sasha Levin, Kees Cook

On Fri, Dec 25, 2015 at 07:54:48AM +0100, Julia Lawall wrote:
> Lines 766, 767 don't look correct at all.

Thanks Julia.  I have sent an updated patch in the original thread.
I wonder why I haven't received the original kbuild test robot
email though.

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: crypto: algif_skcipher - Require setkey before accept(2)
  2015-12-25  7:41   ` Herbert Xu
@ 2015-12-25  8:38     ` Julia Lawall
  0 siblings, 0 replies; 3+ messages in thread
From: Julia Lawall @ 2015-12-25  8:38 UTC (permalink / raw)
  To: Herbert Xu
  Cc: kbuild-all, Dmitry Vyukov, David S. Miller, linux-crypto, LKML,
	syzkaller, Kostya Serebryany, Alexander Potapenko, Eric Dumazet,
	Sasha Levin, Kees Cook



On Fri, 25 Dec 2015, Herbert Xu wrote:

> On Fri, Dec 25, 2015 at 07:54:48AM +0100, Julia Lawall wrote:
> > Lines 766, 767 don't look correct at all.
> 
> Thanks Julia.  I have sent an updated patch in the original thread.
> I wonder why I haven't received the original kbuild test robot
> email though.

I goes to me to check for false positives first.

julia

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-25  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <201512241831.VN3LufSe%fengguang.wu@intel.com>
2015-12-25  6:54 ` crypto: algif_skcipher - Require setkey before accept(2) Julia Lawall
2015-12-25  7:41   ` Herbert Xu
2015-12-25  8:38     ` Julia Lawall

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®