5 ms·
It's easy to bash Bash with the benefit of hindsight. I'd be a lot more interested if someone had performed this analysis of Bash and then created some search
by DanBC 12y ago
It's easy to bash Bash with the benefit of hindsight.
I'd be a lot more interested if someone had performed this analysis of Bash and then created some search thing that found similar programmin style in other tools - especially if they also found interesting bugs.
- forgottenpass 12y agothen created some search thing that found similar programmin style in other tools - especially if they also found interesting bugs. It's called static analysis and (judging by the tools we use) probably already ship with rules that would bark loudly at this code.
- DanBC 12y agoIsn't that what caused the Debian random number bug? Valgrind and purify spotted weird code; a Debian package maintainer removed it and submitted a patch upstream; upstream didn't notice it.
- forgottenpass 12y agoYep, it sure was. Bugs introduced because a developer is unfamiliar with the codebase is a thing that happens.