summaryrefslogtreecommitdiff
path: root/drivers/hwmon/sht3x.c
diff options
context:
space:
mode:
authorLv Yunlong <lyl2019@mail.ustc.edu.cn>2021-03-10 11:31:27 +0300
committerArd Biesheuvel <ardb@kernel.org>2021-03-19 09:44:27 +0300
commit9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3 (patch)
tree91df4aa2a0987806b89ba4b033591dec45327bbb /drivers/hwmon/sht3x.c
parent483028edacab374060d93955382b4865a9e07cba (diff)
downloadlinux-9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3.tar.xz
firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
In the for loop in efi_mem_reserve_persistent(), prsv = rsv->next use the unmapped rsv. Use the unmapped pages will cause segment fault. Fixes: 18df7577adae6 ("efi/memreserve: deal with memreserve entries in unmapped memory") Signed-off-by: Lv Yunlong <lyl2019@mail.ustc.edu.cn> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/hwmon/sht3x.c')
0 files changed, 0 insertions, 0 deletions