Lidong Chen
6608163b08
fs: 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: Lidong Chen <lidong.chen@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-02-13 15:45:57 +01:00
..
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:56 +01:00
2011-10-30 16:10:18 +01:00
2025-02-13 15:45:57 +01:00
2025-02-13 15:45:56 +01:00
2025-02-13 15:45:57 +01:00
2025-02-13 15:45:56 +01:00
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:57 +01:00
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:57 +01:00
2011-04-11 18:13:00 +02:00
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:57 +01:00
2025-01-23 16:22:47 +01:00
2022-03-14 15:45:30 +01:00
2025-01-23 16:22:47 +01:00
2025-01-23 16:22:47 +01:00
2022-07-04 14:43:25 +02:00
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:56 +01:00
2012-04-01 21:35:18 +02:00
2010-09-08 19:13:48 +02:00
2012-04-01 21:35:18 +02:00
2011-04-11 08:16:13 +02:00
2012-04-01 21:35:18 +02: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
2025-02-13 15:45:56 +01:00
2025-02-13 15:45:57 +01:00
2025-01-23 16:22:47 +01:00
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:56 +01:00
2025-02-13 15:45:56 +01:00
2025-02-13 15:45:56 +01:00
2025-02-13 15:45:57 +01:00
2025-01-23 16:22:47 +01:00
2025-02-13 15:45:56 +01:00
2010-05-06 11:34:04 +05:30
2012-12-08 20:56:58 +01:00
2025-02-13 15:45:56 +01:00
2025-02-13 15:45:57 +01:00