diff options
author | Andy Lutomirski <luto@kernel.org> | 2020-03-12 23:35:51 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-20 11:28:47 +0100 |
commit | 630b99ab60aa972052a4202a1ff96c7e45eb0054 (patch) | |
tree | 0ad144a21cf62829ae39c29d741258bfc4d14977 /tools/arch | |
parent | selftests/x86/vdso: Fix no-vDSO segfaults (diff) | |
download | linux-630b99ab60aa972052a4202a1ff96c7e45eb0054.tar.xz linux-630b99ab60aa972052a4202a1ff96c7e45eb0054.zip |
selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault
If AT_SYSINFO is not present, don't try to call a NULL pointer.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/faaf688265a7e1a5b944d6f8bc0f6368158306d3.1584052409.git.luto@kernel.org
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions