[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z6qV9s-rVjcnOKnL@ashyti-mobl2.lan>
Date: Tue, 11 Feb 2025 01:12:38 +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,
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>
merged to drm-intel-gt-next.
Thanks,
Andi
Powered by blists - more mailing lists