[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180826212421.GW6515@ZenIV.linux.org.uk>
Date: Sun, 26 Aug 2018 22:24:21 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: Joe Perches <joe@...ches.com>
Cc: Kees Cook <keescook@...omium.org>,
LKML <linux-kernel@...r.kernel.org>,
Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
"David S. Miller" <davem@...emloft.net>,
Network Development <netdev@...r.kernel.org>
Subject: Re: [PATCH] net: sched: Fix memory exposure from short TCA_U32_SEL
On Sun, Aug 26, 2018 at 11:57:57AM -0700, Joe Perches wrote:
> > That, BTW, is why I hate the use of sizeof(*p) in kmalloc, etc.
> > arguments. typeof is even worse in that respect.
>
> True. Semantic searches via tools like coccinelle could help here
> but those searches are quite a bit slower than straightforward greps.
Those searches are .config-sensitive as well, which can be much more
unpleasant than being slow...
Powered by blists - more mailing lists