func: static void goodG2B() int * data ; data = ( int * ) malloc ( 10 * sizeof ( int ) ); baseObject -> action ( data ); void CWE122_Heap_Based_Buffer_Overflow__CWE131_loop_82_goodG2B::action(int * data) data [ i ] = source [ i ]; printIntLine ( data [ 0 ] ); void printIntLine (int intNumber) printf ( "%d\n" , intNumber ); free ( data ); 