grub/grub-core
Lidong Chen 8e6e87e792 kern/partition: Add sanity check after grub_strtoul() call
The current code incorrectly assumes that both the input and the values
returned by grub_strtoul() are always valid which can lead to potential
errors. This fix ensures proper validation to prevent any unintended issues.

Fixes: CID 473843

Signed-off-by: Lidong Chen <lidong.chen@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-02-13 15:45:58 +01:00
..
2023-01-19 17:39:04 +01:00
2024-06-06 16:55:15 +02:00
2024-11-28 21:50:54 +01:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00