3 ms·
Why? These two people are clearly idiots. It is a simple rule. Never trust user input, the issue has been known for decades and everybody should be aware of it
by tomjen3 14y ago
Why? These two people are clearly idiots.
It is a simple rule. Never trust user input, the issue has been known for decades and everybody should be aware of it by now.
- mootothemax 14y agoWhy? These two people are clearly idiots. Here's a chance for you to improve your standpoint; I'd recommend taking two minutes aside, typing both names into Google and reading a bit about both people first. You might learn something ;)
- shrughes 14y agoThe parent was joking.
- batista 14y agoThere are many idiots who would write that without joking though. Absent the /s sarcasm tag, we don't know.
- tomjen3 14y agoThey are both smart mathematicians, but if you trust user code and don't check for conditions that are that well known, or have set up some automatic system to catch these issues (ala GCCs automatic warning if you use gets()) then yes, you are an idiot. If you get owned by something that isn't well known, by a bug in the CPU, by a corrupt compiler, by a cross site script attack ten years ago, fine, but not something that everybody should know is dangerous.
- JoachimSchipper 14y agoYou did look into the actual bug that tripped up djb? It's a bit more complex than you seem to think.
- irahul 14y ago> Why? These two people are clearly idiots. If you aren't deliberately trying to miss the point, TFA claimed "only idiots make buffer overflow error" and the OP is implying it's not just the idiots, but very smart people(look up the names) who make buffer overflow errors as well. > It is a simple rule. Never trust user input, the issue has been known for decades and everybody should be aware of it by now. It's a simple rule. Don't write buggy code. The issue has been known for decades and everybody should be aware of it by now. /s I am trying to find the buffer overflow in DJB's code. I am more interested in the fact if it was a simple error(give too long an input and it goes kaboom), or a complicated one. My intuition is it is the complicated kind. DJB is known to actively use his own implementation of stdlib and strings which are coded from scratch to be secure than the standard counterparts.