@marcan
that's too hopeful. in this case it seems the bug was in the parser; evidently it's a codepath that has never been tested. thinking that any linter or development tool would "fix" that presumes a lot more discipline than what passes as "professional" in that kind of companies.
the problem is their "success" in secrecy. for anything security- or management-related that's the perfect recipe for failure.
no tool can help those who don't have to do a good job to profit.