コード例 #1
0
        /* goodG2B() - use goodsource and badsink */
        private void GoodG2B()
        {
            string data = null;

            /* FIX: Set data to an integer represented as a string */
            data = "10";
            goodG2BPublicStatic = true;
            CWE94_Improper_Control_of_Generation_of_Code__File_22b.GoodG2BSink(data);
        }