4 ms·
They do check the string size before using strncpy though, so it should be fine
by iMerNibor 10y ago
They do check the string size before using strncpy though, so it should be fine
- ori_b 10y agoThe check is off by one. If it's equal in length to the buffer, then the buffer will not be nul terminated.