Tag Archives: crashes; static code analysis; preventative maintenance; black swan

A Crash of Great Opportunity

It was a fairly straightforward bug. A wide-character string function was called with a byte count instead of a character count, leading to a buffer overrun. After finding the problem the fix was as simple as changing sizeof to _countof. … Continue reading

Posted in Code analysis, Code Reliability, Programming | Tagged | 12 Comments