func: void CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_22_bad() int * data ; data = NULL; data = CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_22_badSource ( data ); int * CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_22_badSource(int * data) if ( CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_22_badGlobal )  data = ( int * ) malloc ( 50 * sizeof ( int ) ); return data ; int source [ 100 ] = { 0 } ; memmove ( data , source , 100 * sizeof ( int ) ); free ( data ); 