Actions
Bug #3585
openDefect ID: DF006
Bug #3585:
Defect ID: DF006
Start date:
10/02/2025
Due date:
% Done:
0%
Estimated time:
Description
Defect ID: DF006
Defect Name: No validation for jagged (ragged) arrays
Line Number: 3
Defect Description: The implementation assumes all rows in A and B have the same length (non-jagged), but if rows have varying lengths the algorithm may access invalid indices or produce wrong results.
Fixing Solution: Validate that every A[i].length equals A[0].length and every B[i].length equals B[0].length before performing multiplication; throw IllegalArgumentException if not.
No data to display
Actions