According to the MSDN library, when you compile C or C++ source code by using the Visual C++ 2013 C/C++ compiler, Visual C++ 2013 should detect some buffer overrun scenarios (of course only those that can be detected at compile time) and emit warning C4789.
However, some buffer overruns aren't caught with all optimization settings by Visual C++ 2013, even if you have installed the Visual Studio 2013 Update 5. No warning C4789 is emitted where the older version Visual C++ 2010 has successfully emitted warning C4789.
Note After you install this hotfix, Visual C++ 2013 can detect buffer overruns and emit the warning C4789 for Release configuration builds (in case /Od isn't used).
However, some buffer overruns aren't caught with all optimization settings by Visual C++ 2013, even if you have installed the Visual Studio 2013 Update 5. No warning C4789 is emitted where the older version Visual C++ 2010 has successfully emitted warning C4789.
Note After you install this hotfix, Visual C++ 2013 can detect buffer overruns and emit the warning C4789 for Release configuration builds (in case /Od isn't used).