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] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z6oyqL8aDCOmoCbd@ashyti-mobl2.lan>
Date: Mon, 10 Feb 2025 18:08:56 +0100
From: Andi Shyti <andi.shyti@...ux.intel.com>
To: l1138897701@....com
Cc: jani.nikula@...ux.intel.com, luoqing@...inos.cn,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] selftests: i915: Use struct_size() helper in kmalloc()

Hi luoqing,

On Sat, Feb 08, 2025 at 09:35:39AM +0800, l1138897701@....com wrote:
> From: luoqing <luoqing@...inos.cn>
> 
> Make use of the struct_size() helper instead of an open-coded version,
> in order to avoid any potential type mistakes or integer overflows that,
> in the worst scenario, could lead to heap overflows.
> 
> Signed-off-by: luoqing <luoqing@...inos.cn>

Reviewed-by: Andi Shyti <andi.shyti@...ux.intel.com>

Thanks,
Andi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ