func: static void goodG2B() int data ; data = - 1; CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_84_goodG2B * goodG2BObject = new CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_84_goodG2B ( data ) ; CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_84_goodG2B::CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_84_goodG2B(int dataCopy) data = dataCopy; data = 20; delete goodG2BObject CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_84_goodG2B::~CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_84_goodG2B() int * intPointer ; intPointer = ( int * ) malloc ( data * sizeof ( int ) ); intPointer [ i ] = 0; printIntLine ( intPointer [ 0 ] ); void printIntLine (int intNumber) printf ( "%d\n" , intNumber ); free ( intPointer ); 