Back to the previous page
Test Case ID | ![]() |
Bad / Good / Mixed | Bad![]() |
Author | IARPA STONESOUP Test and Evaluation team |
Associations | Test suite: 102 Application: 15 |
Added by | Charles Oliveira |
Language | Java |
Type of test case | Source Code |
Input string | |
Expected Output | |
Instructions | See src/docs/howtobuild.html 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 POI - Source Taint: FILE_CONTENTS - Data Type: ARRAY - Data Flow: INDEX_ALIAS_1 - Control Flow: CALLBACK |
File(s) |
|
Flaw |
There are no comments
Have any comments on this test case? Please,
.
- BlockListImpl.java
- J-C253A-POIX-04-ST02-DT01-DF07-CF01-01.yaml
- service_mon.sh
- runFifos.py
- J-C253A-POIX-04-ST02-DT01-DF07-CF01-01.xml
File Contains:
CWE-253: Incorrect Check of Function Return Value on line(s): 55, 56, 57
CWE-253: Incorrect Check of Function Return Value on line(s): 55, 56, 57