summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-11-14 09:25:11 +1100
committerTobin C. Harding <me@tobin.cc>2017-11-14 09:29:27 +1100
commita11949ec20635b43d82ee229315fd2e3c80c22a3 (patch)
tree6c17a4be13441e321942f7f19043b74330306622
parentdd98c252aea2a3dcd4014cb71bcdf9588519b800 (diff)
leaking_addresses: add SigIgn to false positives
Signal masks are false positives, we already check for SigBlk and SigCgt but we missed SigIgn. Add SigIgn to false positive check. Signed-off-by: Tobin C. Harding <me@tobin.cc>
-rwxr-xr-xscripts/leaking_addresses.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl
index 6efd1fdb7d25..bc5788000018 100755
--- a/scripts/leaking_addresses.pl
+++ b/scripts/leaking_addresses.pl
@@ -228,6 +228,7 @@ sub may_leak_address
# Signal masks.
if ($line =~ '^SigBlk:' or
+ $line =~ '^SigIgn:' or
$line =~ '^SigCgt:') {
return 0;
}