func: static void goodG2B() wchar_t * data ; data = NULL; data = ( wchar_t * ) malloc ( 100 * sizeof ( wchar_t ) ); wmemset ( data , L 'A' , 100 - 1 data [ 100 - 1 ] = L CWE126_Buffer_Overread__malloc_wchar_t_memmove_82_base * baseObject = new CWE126_Buffer_Overread__malloc_wchar_t_memmove_82_goodG2B baseObject -> action ( data ); void CWE126_Buffer_Overread__malloc_wchar_t_memmove_82_goodG2B::action(wchar_t * data) free ( data ); 