4 comments

[ 3.6 ms ] story [ 44.4 ms ] thread
Loved this line:

    strncpy (d, s, strlen(s))
As long as you use strncpy, it must be safe!
(comment deleted)