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

I thought this would be about the dangers of not checking for integer overflow.

I struggled to come up with a method which, in C, safely converts a string to an integer type. I finally did it¹, but I've yet to see someone else use this method.

1) http://stackoverflow.com/a/542833/54435



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

Search: