National Institute of Standards and Technology
Package illustrating a test case

Test case 134500

Description

CWE: 253 Incorrect Check of Function Return Value
Sinks:
GoodSink: Check the return value from FileInputStream.read() and handle possible errors
BadSink : Check the return value of FileInputStream.read() for the wrong value
Flow Variant: 10 Control flow: if(IO.staticTrue) and if(IO.staticFalse)

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.