]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
leaking_addresses: fix typo function not called
authorTobin C. Harding <me@tobin.cc>
Tue, 21 Nov 2017 23:14:45 +0000 (10:14 +1100)
committerTobin C. Harding <me@tobin.cc>
Fri, 6 Apr 2018 22:50:34 +0000 (08:50 +1000)
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>
scripts/leaking_addresses.pl

index bc57880000184d122337e3968b94634dd59ec001..b0efa21239acb10a027211125af2d7e4c6812d90 100755 (executable)
@@ -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') {