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]
Date:   Mon, 16 Nov 2020 19:17:17 +0100
From:   Francis Laniel <laniel_francis@...vacyrequired.com>
To:     Jakub Kicinski <kuba@...nel.org>
Cc:     linux-hardening@...r.kernel.org, netdev@...r.kernel.org,
        davem@...emloft.net, keescook@...omium.org
Subject: Re: [RESEND,net-next,PATCH v5 0/3] Fix inefficiences and rename nla_strlcpy

Le lundi 16 novembre 2020, 18:22:47 CET Jakub Kicinski a écrit :
> On Sun, 15 Nov 2020 18:08:03 +0100 laniel_francis@...vacyrequired.com
> 
> wrote:
> > This patch set answers to first three issues listed in:
> > https://github.com/KSPP/linux/issues/110
> > 
> > To sum up, the patch contributions are the following:
> > 1. the first patch fixes an inefficiency where some bytes in dst were
> > written twice, one with 0 the other with src content.
> > 2. The second one modifies nla_strlcpy to return the same value as
> > strscpy,
> > i.e. number of bytes written or -E2BIG if src was truncated.
> > It also modifies code that calls nla_strlcpy and checks for its return
> > value. 3. The third renames nla_strlcpy to nla_strscpy.
> > 
> > Unfortunately, I did not find how to create struct nlattr objects so I
> > tested my modifications on simple char* and with GDB using tc to get to
> > tcf_proto_check_kind.
> > 
> > If you see any way to improve the code or have any remark, feel free to
> > comment.
> > 
> > 
> > Best regards and take care of yourselves.
> 
> Applied, thank you!

Perfect! You are welcome!



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ