Skip to content

Commit

Permalink
leaking_addresses: add SigIgn to false positives
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tcharding committed Nov 13, 2017
1 parent dd98c25 commit a11949e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/leaking_addresses.pl
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ sub may_leak_address

# Signal masks.
if ($line =~ '^SigBlk:' or
$line =~ '^SigIgn:' or
$line =~ '^SigCgt:') {
return 0;
}
Expand Down

0 comments on commit a11949e

Please sign in to comment.