National Institute of Standards and Technology
Package illustrating a test case

Test case 199298

Description

Defect Type: Pointer related defects
Defect Sub-type: Incorrect pointer arithmetic
Description: Defect Free Code to identify false positives in pointer arithmetic subtraction
The test case contains coincidental weaknesses along with intended ones as follows for file ptr_subtraction.c:
* line(s): 22 CWE-469

Flaws

Test Suites

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