commit | 107ed84602bb5b77c333e3a4f373db5e62b50c61 | [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 | a29805d822c4bffe47b464e1f62fca11c6c2b481 [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>