func: static void goodG2B() wchar_t * data ; data = NULL; CWE127_Buffer_Underread__new_wchar_t_memmove_84_goodG2B * goodG2BObject = new CWE127_Buffer_Underread__new_wchar_t_memmove_84_goodG2B ( data ) ; CWE127_Buffer_Underread__new_wchar_t_memmove_84_goodG2B::CWE127_Buffer_Underread__new_wchar_t_memmove_84_goodG2B(wchar_t * dataCopy) data = dataCopy; wchar_t * dataBuffer = new wchar_t [ 100 ] ; wmemset ( dataBuffer , L 'A' , 100 - 1 dataBuffer [ 100 - 1 ] = L '\0' data = dataBuffer; delete goodG2BObject CWE127_Buffer_Underread__new_wchar_t_memmove_84_goodG2B::~CWE127_Buffer_Underread__new_wchar_t_memmove_84_goodG2B() wchar_t dest [ 100 ] ; wmemset ( dest , L 'C' , 100 - 1 dest [ 100 - 1 ] = L '\0' memmove ( dest , data , 100 * sizeof ( wchar_t ) ); printWLine ( dest ); void printWLine (const wchar_t * line) if ( line != NULL )  wprintf ( L "%ls\n" , line ) 