PROPER software development starts with validating all inputs and decent management of memory allocation.
Interesting article in the latest CPU magazine. They say that Microsoft had a browser developed in 1998 with the features and architecture of Google Chrome, but pulled it because they were already being sued by the government for their integrated browser.
The unreleased browser was also called Chrome.