func: static void goodB2G() size_t data ; data = 0; data = CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_fscanf_61b_goodB2GSource ( data ); size_t CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_fscanf_61b_goodB2GSource(size_t data) return data ; wchar_t * myString ; if ( data > wcslen ( HELLO_STRING ) && data < 100 )  myString = ( wchar_t * ) malloc ( data * sizeof ( wchar_t ) ); wcscpy ( myString , HELLO_STRING ); printWLine ( myString ); void printWLine (const wchar_t * line) if ( line != NULL )  wprintf ( L "%ls\n" , line ) free ( myString ); 