National Institute of Standards and Technology
Package illustrating a test case

Test case 134501

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: 11 Control flow: if(IO.staticReturnsTrue()) and if(IO.staticReturnsFalse())

Flaws

Test Suites

Documentation

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