/* goodG2B() - use goodsource and badsink */ private static void GoodG2B(HttpRequest req, HttpResponse resp) { int data = CWE369_Divide_by_Zero__int_Get_Cookies_Web_divide_61b.GoodG2BSource(req, resp); /* POTENTIAL FLAW: Zero denominator will cause an issue. An integer division will * result in an exception. */ IO.WriteLine("bad: 100/" + data + " = " + (100 / data) + "\n"); }