aboutsummaryrefslogtreecommitdiff
path: root/block/t10-pi.c
diff options
context:
space:
mode:
authorJiajian Ye2022-03-24 18:09:23 -0700
committerLinus Torvalds2022-03-24 19:06:45 -0700
commit56465a38305f22bca3469c2738d7320a0c333e72 (patch)
tree1666df4da4cb92fb76b6084a24831a6b8536f50e /block/t10-pi.c
parent59d7cb27d528eae2f060d548dcd14d292b19fda3 (diff)
tools/vm/page_owner_sort.c: add a security check
Add a security check after using malloc() to allocate memory. Link: https://lkml.kernel.org/r/20220301151438.166118-2-yejiajian2018@email.szu.edu.cn Signed-off-by: Jiajian Ye <yejiajian2018@email.szu.edu.cn> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Yinan Zhang <zhangyinan2019@email.szu.edu.cn> Cc: Yixuan Cao <caoyixuan2019@email.szu.edu.cn> Cc: Zhenliang Wei <weizhenliang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions