Skip to content

Commit

Permalink
Merge pull request Reference-LAPACK#1018 from mgates3/orhr_col_fix
Browse files Browse the repository at this point in the history
fix out-of-bounds access in orhr_col
  • Loading branch information
langou authored May 24, 2024
2 parents 4a8ed6b + 0d2d601 commit dd2e5ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SRC/cunhr_col.f
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ SUBROUTINE CUNHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
*
JBTEMP2 = JB - 2
DO J = JB, JB+JNB-2
DO I = J-JBTEMP2, NB
DO I = J-JBTEMP2, MIN( NB, N )
T( I, J ) = CZERO
END DO
END DO
Expand Down
2 changes: 1 addition & 1 deletion SRC/dorhr_col.f
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ SUBROUTINE DORHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
*
JBTEMP2 = JB - 2
DO J = JB, JB+JNB-2
DO I = J-JBTEMP2, NB
DO I = J-JBTEMP2, MIN( NB, N )
T( I, J ) = ZERO
END DO
END DO
Expand Down
2 changes: 1 addition & 1 deletion SRC/sorhr_col.f
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ SUBROUTINE SORHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
*
JBTEMP2 = JB - 2
DO J = JB, JB+JNB-2
DO I = J-JBTEMP2, NB
DO I = J-JBTEMP2, MIN( NB, N )
T( I, J ) = ZERO
END DO
END DO
Expand Down
2 changes: 1 addition & 1 deletion SRC/zunhr_col.f
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ SUBROUTINE ZUNHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
*
JBTEMP2 = JB - 2
DO J = JB, JB+JNB-2
DO I = J-JBTEMP2, NB
DO I = J-JBTEMP2, MIN( NB, N )
T( I, J ) = CZERO
END DO
END DO
Expand Down

0 comments on commit dd2e5ef

Please sign in to comment.