Beispiel #1
0
        /* goodB2G() - use badsource and goodsink */
        private static void GoodB2G()
        {
            int data;

            /* POTENTIAL FLAW: Set data to a value greater than the size of the array */
            data = 100;
            Container dataContainer = new Container();

            dataContainer.containerOne = data;
            CWE129_Improper_Validation_of_Array_Index__large_fixed_array_read_check_min_67b.GoodB2GSink(dataContainer);
        }