diff options
author | Bharat Gooty <bharat.gooty@broadcom.com> | 2020-10-01 11:30:52 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-11-30 18:24:36 +0000 |
commit | a3ff529f5d368a17ff35ada8009e101162ebeaf9 (patch) | |
tree | d894a5f50ee2eba30d1b8df3cace34abecfcc5a5 /drivers/nvmem/qfprom.c | |
parent | f8394f232b1eab649ce2df5c5f15b0e528c92091 (diff) |
PCI: iproc: Fix out-of-bound array accesses
Declare the full size array for all revisions of PAX register sets
to avoid potentially out of bound access of the register array
when they are being initialized in iproc_pcie_rev_init().
Link: https://lore.kernel.org/r/20201001060054.6616-2-srinath.mannam@broadcom.com
Fixes: 06324ede76cdf ("PCI: iproc: Improve core register population")
Signed-off-by: Bharat Gooty <bharat.gooty@broadcom.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/nvmem/qfprom.c')
0 files changed, 0 insertions, 0 deletions