func: void CWE121_Stack_Based_Buffer_Overflow__CWE806_wchar_t_alloca_loop_67_bad() wchar_t * data ; CWE121_Stack_Based_Buffer_Overflow__CWE806_wchar_t_alloca_loop_67_structType myStruct ; wchar_t * dataBuffer = ( wchar_t * ) ALLOCA ( 100 * sizeof ( wchar_t ) ) ; data = dataBuffer; wmemset ( data , L 'A' , 100 - 1 data [ 100 - 1 ] = L '\0' myStruct . structFirst = data; CWE121_Stack_Based_Buffer_Overflow__CWE806_wchar_t_alloca_loop_67b_badSink ( myStruct ); void CWE121_Stack_Based_Buffer_Overflow__CWE806_wchar_t_alloca_loop_67b_badSink(CWE121_Stack_Based_Buffer_Overflow__CWE806_wchar_t_alloca_loop_67_structType myStruct) wchar_t * data = myStruct . structFirst ; size_t i , dataLen ; dataLen = wcslen ( data ); for (i = 0; i < dataLen; i++) 