Project

General

Profile

Actions

Bug #3590

open

Defect ID: DF009

Bug #3590: Defect ID: DF009

Added by Ha Long Ha about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
10/02/2025
Due date:
% Done:

0%

Estimated time:

Description

Defect ID: DF009

Defect Name: Off-by-one loop bounds

Line Number: 8-10

Defect Description: The loops for iterating indices may use <= instead of < for i or j, which would attempt to access index m or p and cause ArrayIndexOutOfBoundsException.

Fixing Solution: Ensure all loops use strict less-than comparisons: for (int i = 0; i < m; i++), for (int j = 0; j < p; j++).

No data to display

Actions

Also available in: PDF Atom