commit | 0b1838a97083a347e16d39d20f9349f0ea410062 | [log] [tgz] |
---|---|---|
author | Heyi Guo <guoheyi@linux.alibaba.com> | Wed Apr 22 20:00:00 2020 +0800 |
committer | Heyi Guo <guoheyi@linux.alibaba.com> | Thu Jan 14 09:27:16 2021 +0800 |
tree | 606a9fe1b90c7450e95827b6efd932324b481c08 | |
parent | 986f8330ec207dfe933377cac1c091a8d051d1d5 [diff] |
lib/extensions/ras: fix bug of binary search In ras_interrupt_handler(), binary search end was set to the size of the ras_interrupt_mappings array, which would cause out of bound access when the input intr_raw is larger than all the elements in ras_interrupt_mappings. Signed-off-by: Heyi Guo <guoheyi@linux.alibaba.com> Change-Id: Id2cff73177134b09d4d8beb596c3429b98ec5066