National Institute of Standards and Technology
Package illustrating a test case

Test case 154529

Description

Algorithmic variant: basic
Root cause: none
This test takes a string. It separates the string into a number to use for an array size to sort and a second string to share between threads. It then creates two threads and runs them both. The first thread calculates an increment amount that is used in the second thread. If the string contains a number or lower decimal value ascii character it will cause the increment amount to become negative which won't be fixed before the second thread uses it causing a StringIndexOutOfBoundsException.
Metadata
- Base program: Elastic Search
- Source Taint: FILE_CONTENTS
- Data Type: VOID_POINTER
- Data Flow: BASIC
- Control Flow: SEQUENCE

Flaws

Test Suites

Documentation

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