/* goodB2G() - use BadSource and GoodSink */ private static void GoodB2G(HttpRequest req, HttpResponse resp) { string data; /* POTENTIAL FLAW: Read data from a querystring using Params.Get */ data = req.Params.Get("name"); 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.GoodB2GSink(dataDictionary, req, resp); }