/* goodB2G1() - use badsource and goodsink by setting the static variable to false instead of true */ private void GoodB2G1() { sbyte data = 0; /* POTENTIAL FLAW: Use a random value */ data = (sbyte)(new Random().Next(sbyte.MinValue, sbyte.MaxValue)); goodB2G1PublicStatic = false; CWE191_Integer_Underflow__SByte_rand_sub_22b.GoodB2G1Sink(data); }