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]
Message-Id: <168078260130.966805.9780166486659802079.b4-ty@nvidia.com>
Date:   Thu,  6 Apr 2023 14:03:28 +0200
From:   Thierry Reding <thierry.reding@...il.com>
To:     airlied@...il.com, dri-devel@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org, daniel@...ll.ch,
        jonathanh@...dia.com, linux-tegra@...r.kernel.org,
        mperttunen@...dia.com, Nur Hussein <hussein@...xcat.org>,
        thierry.reding@...il.com
Subject: Re: [PATCH] drm/tegra : Avoid potential integer overflow of 32 bit int

From: Thierry Reding <treding@...dia.com>

On Thu, 6 Apr 2023 04:25:59 +0800, Nur Hussein wrote:
> In tegra_sor_compute_config(), the 32-bit value mode->clock
> is multiplied by 1000, and assigned to the u64 variable pclk.
> We can avoid a potential 32-bit integer overflow by casting
> mode->clock to u64 before we do the arithmetic and assignment.
> 
> 

Applied, thanks!

[1/1] drm/tegra : Avoid potential integer overflow of 32 bit int
      (no commit info)

Best regards,
-- 
Thierry Reding <treding@...dia.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ