History

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.

Tobin C. Harding committed 8 years ago

Commit 6d23dd91 parent 0adb3281 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/leaking_addresses.pl+1−1
@@ -209,7 +209,7 @@ sub is_false_positive · 208 unmodified lines
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' or214 if ($match =~ '\bf{10}600000\b' or
215 $match =~ '\bf{10}601000\b') {215 $match =~ '\bf{10}601000\b') {