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] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 16 Oct 2023 16:37:26 +0200
From:   Duje Mihanović <duje.mihanovic@...le.hr>
To:     Joe Perches <joe@...ches.com>,
        Alvin Šipraga <alvin@...s.dk>
Cc:     Konstantin Ryabitsev <konstantin@...uxfoundation.org>,
        linux-kernel@...r.kernel.org,
        Alvin Šipraga <alsi@...g-olufsen.dk>
Subject: Re: [PATCH] get_maintainer: correctly parse UTF-8 encoded names in files

On Saturday, October 14, 2023 7:22:44 PM CEST Alvin Šipraga wrote:
> From: Alvin Šipraga <alsi@...g-olufsen.dk>
> 
> While the script correctly extracts UTF-8 encoded names from the
> MAINTAINERS file, the regular expressions damage my name when parsing
> from .yaml files. Fix this by replacing the Latin-1-compatible regular
> expressions with the unicode property matcher \p{Latin}. It's also
> necessary to instruct Perl to open all files with UTF-8 encoding.
> 
> The issue was also identified on the b4 mailing list [1]. This should
> solve the observed side effects there as well.
> 
> Link: https://lore.kernel.org/all/20230726-gush-slouching-a5cd41@meerkat/ 
[1]
> Signed-off-by: Alvin Šipraga <alsi@...g-olufsen.dk>
> ---
>  scripts/get_maintainer.pl | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Tested-by: Duje Mihanović <duje.mihanovic@...le.hr>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ