Exemplo n.º 1
0
        /* goodB2G2() - use badsource and goodsink by reversing the blocks in the if in the sink function */
        private void GoodB2G2()
        {
            ulong data = 0ul;

            /* POTENTIAL FLAW: Use a random value */
            data = IO.GetRandomULong();
            goodB2G2PublicStatic = true;
            CWE190_Integer_Overflow__UInt64_rand_square_22b.GoodB2G2Sink(data);
        }