Too Long; Didn't Read
Electronic Arts released source code of Command & Conquer: Tiberian Dawn and Red Alert games. PVS-Studio analyzer was used to find errors in the code. The tool is designed to detect errors and potential vulnerabilities in programs written in C, C++, C#, and Java. All error examples will be given in a series of two articles to highlight errors in code. Error examples include copy-paste, array overrun, copy-possible errors and copy-overflow errors.