Carlos López
43cace6c36
lib: sbi: check result of pmp_get() in is_pmp_entry_mapped()
...
pmp_get() may return an error if the given entry, given by the caller
of is_pmp_entry_mapped(), is invalid. This results in the output
parameters for pmp_get() being uninitialized. To avoid using garbage
values, check the result and return early if necessary.
This issue is not being hit because at the moment
is_pmp_entry_mapped() is only being called from a single site with a
valid hardcoded value.
Signed-off-by: Carlos López <carlos.lopezr4096@gmail.com >
Reviewed-by: Anup Patel <anup@brainfault.org >
2024-08-02 08:53:22 +05:30
..
2024-05-07 11:27:30 +05:30
2024-06-19 18:15:28 +05:30
2024-06-19 18:15:28 +05:30
2024-08-02 08:53:22 +05:30
2023-12-08 14:06:40 +05:30
2019-06-19 09:48:51 +05:30
2021-05-14 17:05:20 +05:30
2020-03-11 15:29:45 +05:30
2022-02-04 11:04:19 +05:30
2024-03-19 11:20:40 +05:30
2023-04-07 09:36:01 +05:30
2024-08-02 08:53:19 +05:30
2024-06-13 19:21:27 +05:30
2024-05-07 20:11:30 +05:30
2023-12-19 15:56:37 +05:30
2023-12-19 15:56:37 +05:30
2023-12-19 15:56:37 +05:30
2024-01-10 10:55:50 +05:30
2022-10-23 11:00:30 +05:30
2024-06-19 18:15:28 +05:30
2023-12-19 15:56:37 +05:30
2023-12-19 15:56:37 +05:30
2024-03-19 11:31:16 +05:30
2023-12-19 15:56:37 +05:30
2023-12-19 15:56:37 +05:30
2023-12-19 15:56:37 +05:30
2024-04-05 15:49:02 +05:30
2023-12-19 15:56:37 +05:30
2023-12-19 15:56:37 +05:30
2023-12-19 15:56:37 +05:30
2024-03-19 11:31:39 +05:30
2023-08-22 13:26:09 +05:30
2024-03-19 11:31:16 +05:30
2023-01-06 17:26:35 +05:30
2024-08-02 08:53:20 +05:30
2024-06-18 16:41:32 +05:30
2023-12-11 09:23:24 +05:30
2021-11-02 16:02:08 +05:30
2024-07-29 11:34:18 +05:30
2024-03-19 11:31:31 +05:30
2024-06-19 18:09:22 +05:30
2023-12-18 19:26:35 +05:30
2024-03-19 11:31:33 +05:30
2020-05-10 09:59:24 +05:30
2023-09-24 11:39:30 +05:30
2024-04-05 17:09:39 +05:30
2023-09-24 11:41:54 +05:30
2024-05-23 10:53:02 +05:30
2022-09-13 17:17:10 +05:30
2024-05-07 20:11:30 +05:30
2023-07-09 11:06:24 +05:30
2023-12-19 15:56:37 +05:30
2024-03-19 11:31:28 +05:30
2024-04-05 17:09:39 +05:30
2023-05-11 12:31:34 +05:30