func: static void goodG2B() wchar_t * data ; CWE122_Heap_Based_Buffer_Overflow__c_dest_wchar_t_cat_67_structType myStruct ; data = NULL; data = ( wchar_t * ) malloc ( 100 * sizeof ( wchar_t ) ); data [ 0 ] = L '\0' myStruct . structFirst = data; CWE122_Heap_Based_Buffer_Overflow__c_dest_wchar_t_cat_67b_goodG2BSink ( myStruct ); void CWE122_Heap_Based_Buffer_Overflow__c_dest_wchar_t_cat_67b_goodG2BSink(CWE122_Heap_Based_Buffer_Overflow__c_dest_wchar_t_cat_67_structType myStruct) wchar_t * data = myStruct . structFirst ; free ( data ); 