by bumby · 2w ago · 0 comments
Even if individual code is of higher quality, if there are more pieces of code talking to each other, there are many, many more failure modes because software often fails at its interfaces. Nancy Leveson from MIT has written well on this subject.
Perhaps a bad example, but isolated code will often fail less than networked code that has to interact with a bunch of stuff. An old “dumb” tv never seems to have software issues, my new “smart” tv consistently has issues. It’s like having a dozen people write a paragraph each or a single person write a paper. Even if the single persons writing isn’t the better than everyone else’s, you’ll often get a more coherent paper.
Too many things doing too many things is an apt description for the age we live in.
How many times have we seen file upload libraries allow path traversal to happen ?
Nearly everywhere people dont even attempt to validate taht the effective path from the url is actually under the target directory and have not travelled somewhere else.
WHY
Because most oeople are lazy and dont bother inserting that one line, they just let it go and bad stuff happens.