National Institute of Standards and Technology
Package illustrating a test case

Test case 199268

Description

Defect Type: Inappropriate code
Defect Sub-type: Return value of function never checked
Description: Defect Free Code to identify false positives of return value not checked scenarios
The test case contains coincidental weaknesses along with intended ones as follows for file function_return_value_unchecked.c:
* line(s): 129,134,141,279,284,289,316,410 CWE-561
* line(s): 164,435 CWE-562
* line(s): 444 CWE-672

Flaws

Test Suites

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