[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2495.1523462628@warthog.procyon.org.uk>
Date: Wed, 11 Apr 2018 17:03:48 +0100
From: David Howells <dhowells@...hat.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: dhowells@...hat.com, Colin Ian King <colin.king@...onical.com>,
linux-afs@...ts.infradead.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] afs: fix integer overflow when shifting 1 more than 32 places
Dan Carpenter <dan.carpenter@...cle.com> wrote:
> Ideally static analyzers should know that nr_slots is 0-9, but right now
> that seems pretty tricky to figure out...
1-9, actually, but, yeah. Maybe the addition of "assertions" that aren't
actually evaluated at runtime?
David
Powered by blists - more mailing lists