func: static void goodB2G() FILE * data ; data = NULL; data = fopen ( "BadSource_fopen.txt" , "w+" ); CWE773_Missing_Reference_to_Active_File_Descriptor_or_Handle__fopen_82_base * baseObject = new CWE773_Missing_Reference_to_Active_File_Descriptor_or_Handle__fopen_82_goodB2G baseObject -> action ( data ); void CWE773_Missing_Reference_to_Active_File_Descriptor_or_Handle__fopen_82_goodB2G::action(FILE * data) data = fopen ( "GoodSink_fopen.txt" , "w+" ); if ( data != NULL )  fclose ( data ); 