func: static void goodG2B() int * data ; int * dataArray [ 5 ] ; data = NULL; data = ( int * ) malloc ( 100 * sizeof ( int ) ); dataArray [ 2 ] = data; CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memcpy_66b_goodG2BSink ( dataArray ); void CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memcpy_66b_goodG2BSink(int * dataArray[]) int * data = dataArray [ 2 ] ; int source [ 100 ] = { 0 } ; memcpy ( data , source , 100 * sizeof ( int ) ); free ( data ); 