func: void CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_memcpy_52_bad() int64_t * data ; data = NULL; data = ( int64_t * ) malloc ( 50 * sizeof ( int64_t ) ); CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_memcpy_52b_badSink ( data ); void CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_memcpy_52b_badSink(int64_t * data) CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_memcpy_52c_badSink ( data ); void CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_memcpy_52c_badSink(int64_t * data) int64_t source [ 100 ] = { 0 } ; memcpy ( data , source , 100 * sizeof ( int64_t ) ); free ( data ); 