1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/include
Heinrich Schuchardt 0e69bcfb27 efi_loader: validate load option
For passing the optional data of the load option to the loaded imaged
protocol we need its size.

efi_deserialize_load_option() is changed to return the size of the optional
data.

As a by-product we get a partial validation of the load option.
Checking the length of the device path remains to be implemented.

Some Coverity defects identified the load options as user input because
get_unaligned_le32() and get_unaligned_le16() is called. But non of these
Coverity defects can be resolved without marking functions with Coverity
specific tags.

Reported-by: Coverity (CID 303760)
Reported-by: Coverity (CID 303768)
Reported-by: Coverity (CID 303776)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2020-06-03 17:19:17 +02:00
..
2020-05-11 10:16:49 +05:30
2020-04-17 12:32:36 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 17:33:33 -04:00
2020-05-11 01:30:49 +05:30
2020-05-25 11:54:53 -04:00
2020-05-07 09:01:42 -04:00
2020-06-03 17:19:17 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 18:36:55 -04:00
2020-04-29 11:10:54 +05:30
2020-05-18 17:33:33 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-04-30 17:40:16 +08:00
2020-05-18 18:36:55 -04:00
2020-04-17 12:32:36 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 17:33:33 -04:00
2020-05-15 13:53:50 -04:00
2020-05-18 17:33:31 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2020-04-24 16:40:09 -04:00
2020-05-18 21:19:18 -04:00