func: static void goodG2B() int * data ; data = NULL; data = ( int * ) malloc ( 100 * sizeof ( int ) ); CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_64b_goodG2BSink ( & data ); void CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_64b_goodG2BSink(void * dataVoidPtr) int * * dataPtr = ( int * * ) dataVoidPtr ; int * data = ( * dataPtr ) ; int source [ 100 ] = { 0 } ; memmove ( data , source , 100 * sizeof ( int ) ); free ( data ); 