lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 25 Nov 2021 08:43:00 +0100
From:   Arnd Bergmann <arnd@...nel.org>
To:     Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc:     Mauro Carvalho Chehab <mchehab@...nel.org>,
        Arnd Bergmann <arnd@...db.de>,
        Nathan Chancellor <nathan@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        Sakari Ailus <sakari.ailus@...ux.intel.com>,
        Vaibhav Hiremath <hvaibhav@...com>,
        Stanimir Varbanov <svarbanov@...sol.com>,
        Dominic Curran <dcurran@...com>,
        David Cohen <dacohen@...il.com>,
        Linux Media Mailing List <linux-media@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        llvm@...ts.linux.dev
Subject: Re: [PATCH] media: omap3isp: fix out-of-range warning

On Wed, Nov 24, 2021 at 11:26 PM Laurent Pinchart
<laurent.pinchart@...asonboard.com> wrote:
> On Wed, Nov 24, 2021 at 08:24:15PM +0100, Arnd Bergmann wrote:
> >
> > Add a cast to 32-bit to avoid the warning. Checking just the lower bounds
> > would be sufficient as well, but it seems more consistent to use
> > the IS_OUT_OF_BOUNDS() check for all members.
>
> Mauro has submitted a fix that handles the cast in the
> IS_OUT_OF_BOUNDS() macro, see
> https://lore.kernel.org/all/b70f819b11e024649f113be1158f34b24914a1ed.1637573097.git.mchehab+huawei@kernel.org/.

Ok, thanks. I've marked my patch as 'Obsoleted' in patchwork now.

      Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ