提交 a11949ec 编写于 作者: T Tobin C. Harding

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: NTobin C. Harding <me@tobin.cc>
上级 dd98c252
...@@ -228,6 +228,7 @@ sub may_leak_address ...@@ -228,6 +228,7 @@ sub may_leak_address
# Signal masks. # Signal masks.
if ($line =~ '^SigBlk:' or if ($line =~ '^SigBlk:' or
$line =~ '^SigIgn:' or
$line =~ '^SigCgt:') { $line =~ '^SigCgt:') {
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册