Hacker News new | ask | show | jobs
by 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.