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

So you weren't expecting bad user input? Bad for you!

This is called validation, and in a validation routine you expect bad invalid data. Check inputs at the trust boundaries, and off you go.

Note this is NOT about just null pointers but about integrity in general.



Well, if you want a serious discussion then don't imply something just to be able to make a point.

But if you just want to win an argument: here you go.




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

Search: