mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-29 17:22:07 +00:00
leaking_addresses: fix typo function not called
Currently code uses a check against an undefined variable because the variable is a sub routine name and is not evaluated. Evaluate subroutine; add parenthesis to sub routine name. Signed-off-by: Tobin C. Harding <me@tobin.cc>
This commit is contained in:
parent
0adb32858b
commit
6d23dd9bbb
@ -209,7 +209,7 @@ sub is_false_positive
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (is_x86_64) {
|
||||
if (is_x86_64()) {
|
||||
# vsyscall memory region, we should probably check against a range here.
|
||||
if ($match =~ '\bf{10}600000\b' or
|
||||
$match =~ '\bf{10}601000\b') {
|
||||
|
Loading…
Reference in New Issue
Block a user