Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It is! Not mentioned anywhere in the manpages either & there’s no a priori reason for sscanf() to need to call strlen() on the input string, so most programmers would never expect it to.

Pretty sure I would have made this error in the same situation, no question.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: