Back to the previous page
Test Case ID | ![]() |
Bad / Good / Mixed | Bad![]() |
Author | IARPA STONESOUP Test and Evaluation team |
Associations | Test suite: 102 Application: 14 |
Added by | Charles Oliveira |
Language | Java |
Type of test case | Source Code |
Input string | |
Expected Output | |
Instructions | See src/BUILD.txt file for instructions on how to install. |
Submission date | 2015-10-06 |
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 Lucene - Source Taint: SOCKET - Data Type: SIMPLE - Data Flow: VAR_ARG_LIST - Control Flow: INFINITE_LOOP |
File(s) |
|
Flaw |
There are no comments
Have any comments on this test case? Please,
.
- ArrayUtil.java
- service_mon.sh
- J-C253A-LUCE-01-ST03-DT02-DF12-CF03-01.yaml
- runFifos.py
- J-C253A-LUCE-01-ST03-DT02-DF12-CF03-01.xml
File Contains:
CWE-253: Incorrect Check of Function Return Value on line(s): 924, 925
CWE-253: Incorrect Check of Function Return Value on line(s): 924, 925