Пример #1
0
 public override void Bad()
 {
     /* FLAW: Use a number larger than short.MaxValue */
     data = long.MaxValue + 5f;
     CWE197_Numeric_Truncation_Error__float_large_to_int_68b.BadSink();
 }