6 ms·
The Steam bug was the first thing that popped into my mind...But does application testing have to be so dependent on testers having all possible permutations of
by danso 11y ago
The Steam bug was the first thing that popped into my mind...But does application testing have to be so dependent on testers having all possible permutations of a system configuration? I mean, I can't offer a mathematical proof for this, but it seems to me possible to write code that pre-empts the situation where an arbitrary directory is blown away, willy-nilly. In the same way that while it's hard to effectively blacklist all the dangers, it's still possible to effectively implement security by whitelisting allowed behaviors.
- cowsandmilk 11y agoFor the Steam bug, it could have been fixed by running the shell script with options that prevent use of undefined variables. It really isn't hard to have a company policy about nounset, errexit, and, in the extreme, noclobber.
- stephengillie 11y agoDon't forget companies with a nolock policy.
- voltagex_ 11y agoWhat's nolock?
- stephengillie 11y agohttp://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-server-nolock-hint-other-poor-ideas.aspx http://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-ser...
- e28eta 11y agoThat's exactly the point of application sand boxing, which Apple's been pushing for a while.