aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-11-21 18:14:45 -0500
committerTobin C. Harding <me@tobin.cc>2018-04-06 18:50:34 -0400
commit6d23dd9bbb2e71f1bc1bfbe77831e15cc505a995 (patch)
tree15115f5fc84a7b3d587755b04acdaa82d2c117be
parent0adb32858b0bddf4ada5f364a84ed60b196dbcda (diff)
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>
-rwxr-xr-xscripts/leaking_addresses.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl
index bc5788000018..b0efa21239ac 100755
--- a/scripts/leaking_addresses.pl
+++ b/scripts/leaking_addresses.pl
@@ -209,7 +209,7 @@ sub is_false_positive
209 return 1; 209 return 1;
210 } 210 }
211 211
212 if (is_x86_64) { 212 if (is_x86_64()) {
213 # vsyscall memory region, we should probably check against a range here. 213 # vsyscall memory region, we should probably check against a range here.
214 if ($match =~ '\bf{10}600000\b' or 214 if ($match =~ '\bf{10}600000\b' or
215 $match =~ '\bf{10}601000\b') { 215 $match =~ '\bf{10}601000\b') {