commit | bdbf627d27b7debb81ace428bc9afa3e791a084a | [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 | 0fdbb5e12e27df3de80045f3eef889112a1e7b25 [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