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]
Message-ID: <CA+55aFwokKo9X4=wwZ1sKLmLfye=a65KPzMhe-QzuHT6Prp0tA@mail.gmail.com>
Date:	Wed, 1 Jul 2015 09:11:42 -0700
From:	Linus Torvalds <torvalds@...ux-foundation.org>
To:	Chris Metcalf <cmetcalf@...hip.com>
Cc:	open list <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] strscpy string copy function

On Tue, Jun 30, 2015 at 11:01 AM, Chris Metcalf <cmetcalf@...hip.com> wrote:
> Linus,
>
> The discussion on this died down on LKML [1], so either (a) everybody loved
> it and
> it was obviously correct, or (b) everybody lost interest.  I'm
> optimistically
> assuming (a), but willing to hear otherwise!
>
> [1] https://lwn.net/Articles/643140/

Ugh. I thought we agreed to not have the odd "make it zero-sized"
thing be the default.

Let's just make something that is a sane version of strncpy/strlcpy,
not introduce yet another "str*cpy with really odd semantics for the
corner case"

              Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ