Files
lapack/SRC
Keno Fischer 0631b6beae Fix out of bounds read in slarrv
This was originally reported as https://github.com/JuliaLang/julia/issues/42415.
I've tracked this down to an our of bounds read on the following line:

https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L423

In the crashing example, `M` is `0`, causing `slarrv` to read uninitialized
memory from the work array. I believe the `0` for `M` is correct and indeed,
the documentation above supports that `M` may be zero:

https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L113-L116

I believe it may be sufficient to early-out this function as suggested
in this PR. However, I have limited context for the full routine here,
so I would appreciate a sanity check.
2021-09-30 19:15:16 -04:00
..
2021-04-01 09:48:24 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-09-30 19:15:16 -04:00
2021-07-23 16:21:57 -03:00
2021-04-06 18:13:51 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 21:16:29 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-08-08 19:44:55 +01:00
2021-08-08 19:44:55 +01:00
2021-02-14 11:25:07 +01:00
2021-09-30 19:15:16 -04:00
2021-07-23 16:21:57 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 21:16:29 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-01 09:48:24 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-08-08 19:44:55 +01:00
2021-08-08 19:44:55 +01:00
2021-02-14 11:25:07 +01:00
2021-09-30 19:15:16 -04:00
2021-05-16 13:17:13 -07:00
2021-07-23 16:21:57 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 21:16:29 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-06-03 23:02:52 +10:00
2021-06-03 23:02:52 +10:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-06-03 23:02:52 +10:00
2021-06-03 23:02:52 +10:00
2021-04-06 18:11:37 -03:00
2021-04-23 15:52:44 -07:00
2021-09-30 19:15:16 -04:00
2021-07-23 16:21:57 -03:00
2021-04-23 15:52:44 -07:00
2021-04-06 18:13:51 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 21:16:29 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00
2021-04-06 18:11:37 -03:00