func: static void goodG2B() int count ; count = - 1; count = 20; CWE400_Resource_Exhaustion__fgets_fwrite_52b_goodG2BSink ( count ); void CWE400_Resource_Exhaustion__fgets_fwrite_52b_goodG2BSink(int count) CWE400_Resource_Exhaustion__fgets_fwrite_52c_goodG2BSink ( count ); void CWE400_Resource_Exhaustion__fgets_fwrite_52c_goodG2BSink(int count) const char * filename = "output_bad.txt" ; pFile = fopen ( filename , "w+" ); for (i = 0; i < (size_t)count; i++) if ( strlen ( SENTENCE ) != fwrite ( SENTENCE , sizeof ( char ) , strlen ( SENTENCE ) , pFile ) )  