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 takes input in the form of an integer and creates an array of that size. If the input is too large an exception is raised and the array is initialized to a default size without ever changing the size variable. This leads to an ArrayIndexoutOfBoundsException when the array is accessed. Metadata - Base program: Apache POI - Source Taint: ENVIRONMENT_VARIABLE - Data Type: SIMPLE - Data Flow: VAR_ARG_LIST - Control Flow: INTERUPT_CONTINUE |
File(s) |
|
Flaw |
There are no comments
Have any comments on this test case? Please,
.
- SmallDocumentBlock.java
- J-C460A-POIX-07-ST01-DT02-DF12-CF17-01.xml
- service_mon.sh
- J-C460A-POIX-07-ST01-DT02-DF12-CF17-01.yaml
- runFifos.py
File Contains:
CWE-460: Improper Cleanup on Thrown Exception on line(s): 353, 354, 355, 356
CWE-460: Improper Cleanup on Thrown Exception on line(s): 353, 354, 355, 356