Back to the previous page
Test Case ID | ![]() |
Bad / Good / Mixed | Bad![]() |
Author | IARPA STONESOUP Test and Evaluation team |
Associations | Test suite: 102 Application: 13 |
Added by | Charles Oliveira |
Language | Java |
Type of test case | Source Code |
Input string | |
Expected Output | |
Instructions | See src/INSTALL-SRC.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 Lenya - Source Taint: FILE_CONTENTS - Data Type: VOID_POINTER - Data Flow: ADDRESS_AS_FUNCTION_RETURN_VALUE - Control Flow: SEQUENCE |
File(s) |
|
Flaw |
There are no comments
Have any comments on this test case? Please,
.
- LenyaSourceFactory.java
- .DS_Store
- .DS_Store
- service_mon.sh
- .DS_Store
- runFifos.py
- .DS_Store
- lenya__early_kill_s87AfTKQJO.sh
- J-C253A-LENY-10-ST02-DT03-DF06-CF20-01.yaml
File Contains:
CWE-253: Incorrect Check of Function Return Value on line(s): 181, 182, 183, 184, 185, 186
CWE-253: Incorrect Check of Function Return Value on line(s): 181, 182, 183, 184, 185, 186