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: <36da45e3-20e9-4ffd-9ab0-3f3804942eb9@oss.qualcomm.com>
Date: Wed, 23 Jul 2025 18:48:52 -0700
From: Jeff Johnson <jeff.johnson@....qualcomm.com>
To: Yunshui Jiang <jiangyunshui@...inos.cn>, willy@...radead.org
Cc: alexander.deucher@....com, chriistian.koenig@....com,
        linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] drm/amdgpu: use kmalloc_array() instead of kmalloc()

On 7/23/2025 6:37 PM, Yunshui Jiang wrote:
> Use kmalloc_array() instead of kmalloc() with multiplication.
> kmalloc_array() is a safer way because of its multiply overflow check.
> 
> Signed-off-by: Yunshui Jiang <jiangyunshui@...inos.cn>
> ---

1) When you post a new version, you should add a revision history "after the
cut" so that folks know what changed

2) The new version should be sent as a separate thread; don't make the new
version In-Reply-To the previous version


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ