diff options
author | liuye <liuye@kylinos.cn> | 2025-01-14 06:21:15 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-26 07:22:44 +0300 |
commit | 73519ded992fc9dda2807450d6931002bb93cb16 (patch) | |
tree | 620279889d311e300562967f435c4cffe2f0d619 /tools/perf/scripts/python/task-analyzer.py | |
parent | d94d23fdd7529f1f3218235d1e0a69e9856907b7 (diff) | |
download | linux-73519ded992fc9dda2807450d6931002bb93cb16.tar.xz |
selftests/memfd/memfd_test: fix possible NULL pointer dereference
If `name' is NULL, a NULL pointer may be accessed in printf.
Link: https://lkml.kernel.org/r/20250114032115.58638-1-liuye@kylinos.cn
Signed-off-by: liuye <liuye@kylinos.cn>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: "Isaac J. Manjarres" <isaacmanjarres@google.com>
Cc: Jeff Xu <jeffxu@google.com>
Cc: Saurav Shah <sauravshah.31@gmail.com>
Cc: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions