4 ms·
The original strlcpy() was written for OpenBSD (2.4) by Todd C. Miller (who has also been the maintainer of sudo since 1994): * https://github.com/openbsd/src/
by throw0101a 4y ago
The original strlcpy() was written for OpenBSD (2.4) by Todd C. Miller (who has also been the maintainer of sudo since 1994):
* https://github.com/openbsd/src/blob/master/lib/libc/string/strlcpy.c https://github.com/openbsd/src/blob/master/lib/libc/string/s...
* https://cvsweb.openbsd.org/src/lib/libc/string/strlcpy.c https://cvsweb.openbsd.org/src/lib/libc/string/strlcpy.c
- ncmncm 4y agoSudo has had its own debacles.
- throw0101a 4y agoFeel free to use one of the alternatives: * https://www.sudo.ws/docs/alternatives/ https://www.sudo.ws/docs/alternatives/
- wahern 4y agoDon't forget the original USENIX paper: https://www.usenix.org/legacy/events/usenix99/full_papers/millert/millert.pdf https://www.usenix.org/legacy/events/usenix99/full_papers/mi...