Пример #1
0
 /* goodG2B() - use goodsource and badsink */
 private static void GoodG2B()
 {
     int data;
     /* FIX: Use a hardcoded number that won't cause underflow, overflow, divide by zero, or loss-of-precision issues */
     data = 2;
     int[] dataArray = new int[5];
     dataArray[2] = data;
     CWE191_Integer_Underflow__int_File_multiply_66b.GoodG2BSink(dataArray  );
 }