NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/59540 (strlcpy(3) has an off-by-one in the manual page)
Synopsis: strlcpy(3) has an off-by-one in the manual page
Responsible-Changed-From-To: lib-bug-people->rillig
Responsible-Changed-By: rillig%NetBSD.org@localhost
Responsible-Changed-When: Sun, 04 Jan 2026 14:33:33 +0000
Responsible-Changed-Why:
I'll handle it.
State-Changed-From-To: open->feedback
State-Changed-By: rillig%NetBSD.org@localhost
State-Changed-When: Sun, 04 Jan 2026 14:33:33 +0000
State-Changed-Why:
What about "dst + strlen(src) + 1" instead of the brackets notation?
That would keep the "+ 1" to emphasize the terminating null byte.
Home |
Main Index |
Thread Index |
Old Index