National Institute of Standards and Technology
Package illustrating a test case

Test case 154318

Description

This test gets the index of the character . in the input string.
It then uses that index to get a substring beginning with .
If . does not occur in the string, the index will be -1, and then
the substring operation will fail with an IndexOutOfBounds exception.
Metadata
- Base program: Apache POI
- Source Taint: ENVIRONMENT_VARIABLE
- Data Type: ARRAY
- Data Flow: ADDRESS_AS_FUNCTION_RETURN_VALUE
- Control Flow: FUNCTION_INVOCATION_OVERLOAD

Flaws

Test Suites

Documentation

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