/* goodB2G() - use BadSource and GoodSink */ private static void GoodB2G() { long data; /* POTENTIAL FLAW: Use the minimum size of the data type */ data = long.MinValue; Dictionary <int, long> dataDictionary = new Dictionary <int, long>(); dataDictionary.Add(0, data); dataDictionary.Add(1, data); dataDictionary.Add(2, data); CWE191_Integer_Underflow__Long_min_sub_74b.GoodB2GSink(dataDictionary); }