4 ms·
Ouchies. On the narrow subject of strncpy(): strlcpy() and friends are the "correct" API, IMHO, and it's easy enough to copy-paste them from e.g. the OpenBSD co
by JoachimSchipper 13y ago
Ouchies. On the narrow subject of strncpy(): strlcpy() and friends are the "correct" API, IMHO, and it's easy enough to copy-paste them from e.g. the OpenBSD code.
- fayyazkl 13y agoOh, so you mean the openbsd version doesn't suffer from these issues / features? :) I would definitely like to take a look. Thanks