National Institute of Standards and Technology
Package illustrating a test case

Test case 1859

Description

The test case shows a possible variant of an improper pointer subtraction. The code works well if you assume that the two integers are contiguously allocated in the memory, which is not always the case.

Flaws

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