logoalt Hacker News

_pdp_yesterday at 12:19 PM1 replyview on HN

Most security bugs are due to improper string validation and use.


Replies

edelbittertoday at 3:57 AM

(Obviously a take that does not get very far in lower level programming, but from the comfort of some abstractions away:) I like to think of buffer overruns, command injections and path traversal as all the same category of bug: type confusion. Nothing special. An no excuse to risk any of them, if the logic implementing them is expected to be called just O(1) times anyway.