diff options
| author | Ilias Apalodimas <[email protected]> | 2020-12-31 12:26:46 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2020-12-31 14:33:23 +0100 |
| commit | fe179d7fb5c10d8a4e299af06c766f47f2c8d51a (patch) | |
| tree | 5c762b7b7158c4692a774708b42af30726540a4d /scripts | |
| parent | 47d2b3b9c98e1adf231f8143bc01b0046ebd5c9c (diff) | |
efi_loader: Add size checks to efi_create_indexed_name()
Although the function description states the caller must provide a
sufficient buffer, it's better to have in function checks that the
destination buffer can hold the intended value.
So let's add an extra argument with the buffer size and check that
before doing any copying.
Signed-off-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
