PR27879, stack-buffer-overflow on sysdump
authorAlan Modra <amodra@gmail.com>
Tue, 18 May 2021 14:09:35 +0000 (23:39 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 19 May 2021 01:37:17 +0000 (11:07 +0930)
commit9d9e2a340ba50670f406afa314acaa9a2c34ec64
treebcc32796dccb71d476a428b785d0a9ab5222f7af
parent75933ce3d95005bf763fa5c1275725aa6c591dc1
PR27879, stack-buffer-overflow on sysdump

PR 27879
* sysdump.c (getBARRAY): Sanity check size against max.
(getINT): Avoid UB shift left.
binutils/ChangeLog
binutils/sysdump.c