/* goodG2B() - use goodsource and badsink */ private static void GoodG2B(HttpRequest req, HttpResponse resp) { /* FIX: Use a hardcoded string */ data = "foo"; CWE89_SQL_Injection__Web_Get_Cookies_Web_ExecuteScalar_68b.GoodG2BSink(req, resp); }
/* goodG2B() - use goodsource and badsink */ private static void GoodG2B(HttpRequest req, HttpResponse resp) { /* FIX: Use a hardcoded string */ data = "foo"; CWE89_SQL_Injection__Web_Get_Cookies_Web_ExecuteScalar_68b.GoodG2BSink(req, resp); }