Project

General

Profile

Actions

Bug #3586

open

Defect ID: DF007

Bug #3586: Defect ID: DF007

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: DF007

Defect Name: Number of rows/columns mismatch checked in wrong order

Line Number: 3

Defect Description: The code computes p = B[0].length before ensuring B.length > 0, which can throw an IndexOutOfBoundsException when B has zero rows.

Fixing Solution: Check B.length > 0 first, then access B[0].length to get p.

No data to display

Actions

Also available in: PDF Atom