Y
Hacker News
new
|
ask
|
show
|
jobs
by
iMerNibor
3440 days ago
They do check the string size before using strncpy though, so it should be fine
1 comments
ori_b
3440 days ago
The check is off by one. If it's equal in length to the buffer, then the buffer will not be nul terminated.
link