Back to the previous page
| Test Case ID | 153843 |
| 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: FILE_CONTENTS - Data Type: VOID_POINTER - Data Flow: INDEX_ALIAS_1 - Control Flow: RECURSIVE |
| File(s) |
|
| Flaw |
There are no comments
Have any comments on this test case? Please,
.
- PostingsFormat.java
- runFifos.py
- service_mon.sh
- J-C253A-LUCE-10-ST02-DT03-DF07-CF19-01.yaml
- J-C253A-LUCE-10-ST02-DT03-DF07-CF19-01.xml
File Contains:
CWE-253: Incorrect Check of Function Return Value on line(s): 73, 74, 75
CWE-253: Incorrect Check of Function Return Value on line(s): 73, 74, 75

