mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 02:45:39 +01:00
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>
3.3 KiB
3.3 KiB