National Institute of Standards and Technology
Package illustrating a test case

Test case 93157


CWE: 253 Incorrect Check of Return Value
Sinks: fread
GoodSink: Correctly check if fread() failed
BadSink : Incorrectly check if fread() failed
Flow Variant: 08 Control flow: if(staticReturnsTrue()) and if(staticReturnsFalse())


Test Suites


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