func: static void goodG2B() int data ; CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_67_structType myStruct ; data = - 1; data = 20; myStruct . structFirst = data; CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_67b_goodG2BSink ( myStruct ); void CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_67b_goodG2BSink(CWE680_Integer_Overflow_to_Buffer_Overflow__malloc_fscanf_67_structType myStruct) int data = myStruct . structFirst ; int * intPointer ; intPointer = ( int * ) malloc ( data * sizeof ( int ) ); intPointer [ i ] = 0; printIntLine ( intPointer [ 0 ] ); void printIntLine (int intNumber) printf ( "%d\n" , intNumber ); free ( intPointer ); 