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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bb3b1806-5089-43f6-8da3-b38b2e5edd01@foss.st.com>
Date: Tue, 17 Jun 2025 09:35:15 +0200
From: Clement LE GOFFIC <clement.legoffic@...s.st.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>,
        Dwaipayan Ray <dwaipayanray1@...il.com>,
        Lukas Bulwahn
	<lukas.bulwahn@...il.com>,
        <linux-kernel@...r.kernel.org>,
        Antonio Borneo
	<antonio.borneo@...s.st.com>
Subject: Re: [PATCH RESEND v2] checkpatch: use utf-8 match for spell checking

On 6/17/25 02:31, Andrew Morton wrote:
> On Mon, 16 Jun 2025 09:59:13 +0200 Clément Le Goffic <clement.legoffic@...s.st.com> wrote:
> 
>> From: Antonio Borneo <antonio.borneo@...s.st.com>
>>
>> The current code that checks for misspelling verifies, in a more
>> complex regex, if $rawline matches [^\w]($misspellings)[^\w]
>>
>> Being $rawline a byte-string, a utf-8 character in $rawline can
>> match the non-word-char [^\w].
>> E.g.:
>> 	./scripts/checkpatch.pl --git 81c2f059ab9
>> 	WARNING: 'ment' may be misspelled - perhaps 'meant'?
>> 	#36: FILE: MAINTAINERS:14360:
>> 	+M:     Clément Léger <clement.leger@...tlin.com>
>> 	            ^^^^
>>
>> Use a utf-8 version of $rawline for spell checking.
>>
>> Signed-off-by: Antonio Borneo <antonio.borneo@...s.st.com>
>> Reported-by: Clément Le Goffic <clement.legoffic@...s.st.com>
>> ---
>> Signed-off-by: Clément Le Goffic <clement.legoffic@...s.st.com>
> 
> Oh, there it is, after the "^---$", which marks end-of-changelog!

Hi, Oh right sorry !
Thank you for making the change.

Clément

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ