Y
Hacker News
new
|
ask
|
show
|
jobs
by
JoachimSchipper
4569 days 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.
1 comments
fayyazkl
4569 days ago
Oh, so you mean the openbsd version doesn't suffer from these issues / features? :) I would definitely like to take a look. Thanks
link