Home / Vulnerability Database / Scala : Reference to array element out of bounds
Scala

Scala : Reference to array element out of bounds

Classification

Overview

In the application, one of the execution paths contains a call of an array element out of bounds, which can lead to incorrect application behavior or crash.

An array is a data structure, which stores a fixed-size collection of elements of the same type which is stored contiguously in memory. An array element is accessed by an index, the value of which must be in the range from 0 to sizeArray - 1. When accessing an element by an index that is outside this interval, ArrayIndexOutOfBoundsException is thrown during execution.

MEDIUM

DerScanner Severity Score

Do you want to fix Scala : Reference to array element out of bounds in your application?

See also

Scala

Scala : Unreleased resource stream

Scala

Scala : Multiple loggers in same class

Scala

Scala : Insufficient encryption key length