func: static void goodG2B() wchar_t * data ; data = NULL; data = new wchar_t [ 10 + 1 ]; CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_wchar_t_loop_82_base * baseObject = new CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_wchar_t_loop_82_goodG2B baseObject -> action ( data ); void CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_wchar_t_loop_82_goodG2B::action(wchar_t * data) wchar_t source [ 10 + 1 ] = SRC_STRING ; size_t i , sourceLen ; sourceLen = wcslen ( source ); for (i = 0; i < sourceLen + 1; i++) 