Пример #1
0
        /* goodG2B() - use goodsource and badsink */
        private void GoodG2B(HttpRequest req, HttpResponse resp)
        {
            string data = null;

            /* FIX: Use a hardcoded string */
            data = "foo";
            goodG2BPublicStatic = true;
            CWE89_SQL_Injection__Web_ReadLine_ExecuteNonQuery_22b.GoodG2BSink(data, req, resp);
        }