Exemplo n.º 1
0
        /* goodB2G1() - use badsource and goodsink by setting the static variable to false instead of true */
        private void GoodB2G1()
        {
            ulong data = 0ul;

            /* POTENTIAL FLAW: Use a random value */
            data = IO.GetRandomULong();
            goodB2G1PublicStatic = false;
            CWE190_Integer_Overflow__UInt64_rand_square_22b.GoodB2G1Sink(data);
        }