National Institute of Standards and Technology
Package illustrating a test case

Test case 134495

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: 05 Control flow: if(privateTrue) and if(privateFalse)

Flaws

Test Suites

Documentation

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