1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-17 16:02:33 +02:00
Files
u-boot-megous/lib
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-18 21:19:18 -04:00
2020-04-27 14:55:29 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-12-02 18:23:07 -05:00
2019-10-31 07:22:53 -04:00
2020-04-24 10:51:32 -04:00
2020-05-25 11:54:53 -04:00
2020-05-18 21:19:18 -04:00
2020-05-15 14:47:35 -04:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-08-11 16:43:41 -04:00
2020-05-01 11:03:24 -04:00
2020-05-18 21:19:18 -04:00
2020-01-22 17:47:57 -05:00
2020-05-18 18:36:55 -04:00
2019-05-05 08:48:50 -04:00