commit | da21d3de534051a3efeeea5bef1bb8f0f4a6be13 | [log] [tgz] |
---|---|---|
author | Richard Weinberger <richard@nod.at> | Fri Aug 09 11:54:30 2024 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 15 16:14:36 2024 -0600 |
tree | bd95030b932c1bdf64fcf3bf951b8f996451ff99 | |
parent | 537eb105d15868ba94adcb05545223b7ee4de9b5 [diff] |
ext4: Fix zalloc() Currently, zalloc() calls uncondtionally memset(), if the allocation failes, memset() will write to a null pointer. Fix by using kzalloc(). Signed-off-by: Richard Weinberger <richard@nod.at> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>