National Institute of Standards and Technology
Package illustrating a test case

Test case 134506

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: 16 Control flow: while(true)

Flaws

Test Suites

Documentation

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