Commit bug reported by Alexander Kobotov (INTEL) on LAPACK Forum
authorjulie <julielangou@users.noreply.github.com>
Sat, 18 Jul 2015 23:53:25 +0000 (23:53 +0000)
committerjulie <julielangou@users.noreply.github.com>
Sat, 18 Jul 2015 23:53:25 +0000 (23:53 +0000)
commit8e26f833b884e2b3feed3b4ae02b6715ae2b5ab4
tree3787f04cbfe23776a840dc7df51f7a98121fca49
parenta002ad4689cfe9647630a8eac71e24277d823938
Commit bug reported by Alexander Kobotov (INTEL) on LAPACK Forum
Link: http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=13&t=4762&p=11439#p11439
Recent commit r1533 introduced out of bound access which could lead to a crash.
It results scaling of a vector instead of a single number.
Fix is simple:

zhgeqz.f:669
- CALL ZSCAL( ILAST, SIGNBC, H( ILAST, ILAST ), 1 )
+ CALL ZSCAL( 1, SIGNBC, H( ILAST, ILAST ), 1 )

Similar for chgeqz on line 668
SRC/chgeqz.f
SRC/zhgeqz.f