Alec Brown
c407724dad
disk: Use safe math macros to prevent overflows
...
Replace direct arithmetic operations with macros from include/grub/safemath.h
to prevent potential overflow issues when calculating the memory sizes.
Signed-off-by: Alec Brown <alec.r.brown@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-02-13 15:45:56 +01:00
..
2019-03-25 15:14:52 +01:00
2023-06-01 11:45:00 +02:00
2023-10-12 19:23:17 +02:00
2025-02-13 15:45:56 +01:00
2022-07-04 14:43:26 +02:00
2022-07-04 14:43:26 +02:00
2020-01-10 14:27:49 +01:00
2022-03-14 15:44:45 +01:00
2022-07-04 14:43:26 +02:00
2025-02-13 15:45:56 +01:00
2025-02-13 15:45:56 +01:00
2021-03-10 14:50:44 +01:00
2022-10-11 14:42:07 +02:00
2022-03-21 18:47:16 +01:00
2024-11-28 21:50:55 +01:00
2025-02-13 15:45:56 +01:00
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:56 +01:00
2022-10-11 14:42:07 +02:00
2024-05-23 14:42:39 +02:00
2024-05-09 15:25:46 +02:00
2012-03-26 16:10:40 +02:00
2020-12-12 01:19:03 +01:00
2025-02-13 15:45:56 +01:00
2022-03-14 15:44:45 +01:00
2025-02-13 15:45:56 +01:00
2012-06-25 17:36:50 +02:00
2018-10-31 12:07:29 +01:00
2022-07-04 14:43:26 +02:00
2022-03-14 15:44:45 +01:00