National Institute of Standards and Technology
Package illustrating a test case

Test case 29203

Deprecated test case

This version contains mistakes, making it deprecated. Deprecated test cases should not be used for new work. However, They remain in the SARD as a reference to redo previous work.

Description

CWE: 392 Failure to Report Error in Status Code
Sinks: always_return_success
GoodSink: Return success when successful and fail when the function fails
BadSink : Always return success
Flow Variant: 04 Control flow: if(static_const_t) and if(static_const_f)

Flaws

Test Suites

Documentation

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