func: void CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_ncpy_53_bad() wchar_t * data ; data = ( wchar_t * ) malloc ( 10 * sizeof ( wchar_t ) ); CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_ncpy_53b_badSink ( data ); void CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_ncpy_53b_badSink(wchar_t * data) CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_ncpy_53c_badSink ( data ); void CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_ncpy_53c_badSink(wchar_t * data) CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_ncpy_53d_badSink ( data ); void CWE122_Heap_Based_Buffer_Overflow__c_CWE193_wchar_t_ncpy_53d_badSink(wchar_t * data) wcsncpy ( data , source , wcslen ( source ) + 1 ); printWLine ( data ); void printWLine (const wchar_t * line) if ( line != NULL )  wprintf ( L "%ls\n" , line ) free ( data ); 