Query module ImproperValidationOfArrayConstructionCodeSpecified

name
Improper validation of code-specified size used for array construction
description
Using a code-specified value that may be zero as the argument to a construction of an array can lead to index out of bound exceptions.
kind
path-problem
problem.severity
recommendation
precision
medium
id
java/improper-validation-of-array-construction-code-specified
tags
security external/cwe/cwe-129

Imports

ArraySizing
PathGraph

Provides the query predicates needed to include a graph in a path-problem query.

java

Provides all default Java QL imports.

Classes