tech-security archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: strscpy



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


Home | Main Index | Thread Index | Old Index