summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorRichard Weinberger <[email protected]>2024-08-09 11:54:30 +0200
committerTom Rini <[email protected]>2024-08-15 16:14:36 -0600
commit107ed84602bb5b77c333e3a4f373db5e62b50c61 (patch)
treebd95030b932c1bdf64fcf3bf951b8f996451ff99 /include/linux/linux_string.h
parenta29805d822c4bffe47b464e1f62fca11c6c2b481 (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 <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions