/* goodG2B() - use GoodSource and BadSink */ private static void GoodG2B(HttpRequest req, HttpResponse resp) { string data; /* FIX: Set data to an integer represented as a string */ data = "10"; Dictionary <int, string> dataDictionary = new Dictionary <int, string>(); dataDictionary.Add(0, data); dataDictionary.Add(1, data); dataDictionary.Add(2, data); CWE94_Improper_Control_of_Generation_of_Code__Params_Get_Web_74b.GoodG2BSink(dataDictionary, req, resp); }