Posts Tagged ‘Array Index out of Bounds’

  • Top 5 C/C++ quality bugs

    on Jul 14, 09 • by Alen Zukich • with 1 Comment

    A recent article on the top five causes of poor software quality and top 5 non-technical mistakes inspired me to also provide a top five on software quality bugs.  Here is my top 5 list of bugs (with some simple examples) that I see time and time again looking at customer code: 1.    Null Pointer dereference This is far and beyond the most common issue that I see time and time again. void npd_gen_must() { int *p = 0; // NULL is assigned. *p = 1;  // pointer is dereferenced } Now this example is

    Read More »
Scroll to top