func: void CWE122_Heap_Based_Buffer_Overflow__c_CWE193_char_memmove_34_bad() char * data ; CWE122_Heap_Based_Buffer_Overflow__c_CWE193_char_memmove_34_unionType myUnion ; data = NULL; data = ( char * ) malloc ( 10 * sizeof ( char ) ); myUnion . unionFirst = data; char * data = myUnion . unionSecond ; char source [ 10 + 1 ] = SRC_STRING ; memmove ( data , source , ( strlen ( source ) + 1 ) * sizeof ( char ) ); free ( data ); 