func: static void goodB2G() int count ; count = - 1; count = RAND32 ( ); CWE400_Resource_Exhaustion__rand_fwrite_63b_goodB2GSink ( & count ); void CWE400_Resource_Exhaustion__rand_fwrite_63b_goodB2GSink(int * countPtr) int count = * countPtr ; const char * filename = "output_good.txt" ; if ( count > 0 && count <= 20 )  pFile = fopen ( filename , "w+" ); if ( pFile )  fclose ( pFile ); 