func: void CWE427_Uncontrolled_Search_Path_Element__wchar_t_environment_67_bad() wchar_t * data ; wchar_t dataBuffer [ 250 ] = L "PATH=" data = dataBuffer; size_t dataLen = wcslen ( data ) ; wcsncat ( data + dataLen , environment , 250 - dataLen - 1 ); myStruct . structFirst = data; CWE427_Uncontrolled_Search_Path_Element__wchar_t_environment_67b_badSink ( myStruct ); void CWE427_Uncontrolled_Search_Path_Element__wchar_t_environment_67b_badSink(CWE427_Uncontrolled_Search_Path_Element__wchar_t_environment_67_structType myStruct) wchar_t * data = myStruct . structFirst ; PUTENV ( data ); 