4 comments

[ 3.4 ms ] story [ 22.4 ms ] thread
Loved this line:

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