mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
boot: use INC_SAFE where appropriate
This commit is contained in:
@@ -2464,7 +2464,7 @@ static EFI_STATUS initrd_prepare(
|
||||
if (err != EFI_SUCCESS)
|
||||
return err;
|
||||
|
||||
if (!ADD_SAFE(&size, size, ALIGN4(info->FileSize)))
|
||||
if (!INC_SAFE(&size, ALIGN4(info->FileSize)))
|
||||
return EFI_OUT_OF_RESOURCES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user