National Institute of Standards and Technology
Package illustrating a test case

Test case 98161

Description

CWE: 390 Detection of Error Condition Without Action
Sinks: sqrt
GoodSink: Check to see if sqrt() failed and handle errors properly
BadSink : Check to see if sqrt() failed, but fail to handle errors
Flow Variant: 08 Control flow: if(staticReturnsTrue()) and if(staticReturnsFalse())

Flaws

Test Suites

Documentation

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