Re: strscpy
Martin Husemann <[email protected]> Mon, 18 May 2020 21:03:33 +0200
| Newsgroups | gmane.os.netbsd.devel.security |
|---|---|
| Message-ID | <[email protected]> |
On Mon, May 18, 2020 at 09:00:01PM +0200, Maxime Villard wrote: > I believe this is why copystr(), although safer than strlcpy(), isn't used much: > the length returned in a pointer is unusual. Isn't it used (nowadays) only in ~ a single place where it needs to be congruent with copyinstr? And it could be totaly removed quite easily? Martin