func: static void goodG2B() wchar_t * data ; wchar_t * dataBuffer = ( wchar_t * ) ALLOCA ( 100 * sizeof ( wchar_t ) ) ; data = dataBuffer; data = CWE121_Stack_Based_Buffer_Overflow__src_wchar_t_alloca_cat_61b_goodG2BSource ( data ); wchar_t * CWE121_Stack_Based_Buffer_Overflow__src_wchar_t_alloca_cat_61b_goodG2BSource(wchar_t * data) wmemset ( data , L 'A' , 50 - 1 data [ 50 - 1 ] = L '\0' return data ; wchar_t dest [ 50 ] = L "" wcscat ( dest , data ); 