func: void CWE122_Heap_Based_Buffer_Overflow__c_CWE805_char_memmove_06_bad() char * data ; data = NULL; if ( STATIC_CONST_FIVE == 5 )  data = ( char * ) malloc ( 50 * sizeof ( char ) ); data [ 0 ] = '\0'; char source [ 100 ] ; memset ( source , 'C' , 100 - 1 ); source [ 100 - 1 ] = '\0'; memmove ( data , source , 100 * sizeof ( char ) ); data [ 100 - 1 ] = '\0'; free ( data ); 