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

Same pattern, but what's going on is that sscanf has been implemented as a call to a related function, with setup that incidentally does a bunch of unnecessary work. The scanning isn't what's causing the problem; it's that, before sscanf starts its actual work, it passes over the entire string to see how long it is.


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

Search: