lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20220927021517.1952202-1-keescook@chromium.org> Date: Mon, 26 Sep 2022 19:15:17 -0700 From: Kees Cook <keescook@...omium.org> To: Andy Whitcroft <apw@...onical.com> Cc: Kees Cook <keescook@...omium.org>, Joe Perches <joe@...ches.com>, Dwaipayan Ray <dwaipayanray1@...il.com>, Lukas Bulwahn <lukas.bulwahn@...il.com>, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: [PATCH] checkpatch: Don't count URLs for "line too long" URLs (not in a Link: field) should be ignored for "line too long" warnings. Allow any line containing "https://" or "http://". Cc: Andy Whitcroft <apw@...onical.com> Cc: Joe Perches <joe@...ches.com> Cc: Dwaipayan Ray <dwaipayanray1@...il.com> Cc: Lukas Bulwahn <lukas.bulwahn@...il.com> Signed-off-by: Kees Cook <keescook@...omium.org> --- scripts/checkpatch.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 79e759aac543..d4dec90673b7 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3175,6 +3175,8 @@ sub process { # file delta changes $line =~ /^\s*(?:[\w\.\-\+]*\/)++[\w\.\-\+]+:/ || # filename then : + $line =~ /https?:\/\// || + # URLs $line =~ /^\s*(?:Fixes:|Link:|$signature_tags)/i || # A Fixes: or Link: line or signature tag line $commit_log_possible_stack_dump)) { -- 2.34.1
Powered by blists - more mailing lists