National Institute of Standards and Technology
Package illustrating a test case

Test case 150985

Description

This test case squares a positive number. If the number is large enough, the square will wrap around and become a negative number. The test case then uses the number as a decrementing counter in a while loop. If the number is negative when entering the loop, the loop will never terminate.
Metadata
- Base program: Subversion
- Source Taint: SHARED_MEMORY
- Data Type: SIMPLE
- Data Flow: BUFFER_ADDRESS_POINTER
- Control Flow: SET_JUMP_LONG_JUMP

Flaws

Test Suites

Documentation

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