Visual Studio Code Analysis - Buffer Overruns
Today I was looking through some fairly old source code in a large solution, large in this case is ~300 projects and about 1 million lines of code. Parts of the code base are very old - at some stage a decision was made to disable warning C4996. The problem I came across is reduced to its most simple form below:
// AnalysisExample.cpp : An example of how static analysis can help.
Read more