[PATCH v2 04/11] memzone: check result of malloc_elem_from_data

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Tue Nov 22 16:52:20 CET 2022


2022-11-21 17:32 (UTC-0500), okaya at kernel.org:
> From: Sinan Kaya <okaya at kernel.org>
> 
> In memzone_reserve_aligned_thread_unsafe result of call
> to malloc_elem_from_data is dereferenced here and may be null.
> 
> Signed-off-by: Sinan Kaya <okaya at kernel.org>

Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>


More information about the dev mailing list