• Heyi Guo's avatar
    lib/extensions/ras: fix bug of binary search · 0b1838a9
    Heyi Guo authored
    
    
    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: default avatarHeyi Guo <guoheyi@linux.alibaba.com>
    Change-Id: Id2cff73177134b09d4d8beb596c3429b98ec5066
    0b1838a9
ras_common.c 4.55 KB