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-01-17 10:16:29 -05:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 21:19:18 -04:00
2020-06-03 17:19:17 +02:00
2020-05-18 17:33:31 -04:00
2020-05-18 21:19:18 -04:00
2020-04-26 14:23:55 -06:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2018-05-07 09:34:12 -04:00
2020-04-27 14:55:29 -04:00
2020-02-05 19:33:46 -07:00
2020-01-22 17:47:57 -05:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -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
2018-09-18 00:01:18 -06:00
2020-05-09 09:30:28 +02:00
2020-05-18 21:19:18 -04:00
2011-01-18 23:38:08 +01:00
2019-12-02 18:23:07 -05:00
2018-12-08 20:18:44 -05:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-12-06 16:44:19 -05:00
2020-01-17 17:53:52 -05:00
2020-05-18 21:19:23 -04:00
2020-03-03 13:08:14 +05:30
2019-10-31 07:22:53 -04:00
2010-09-19 19:29:47 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-20 13:20:19 +02:00
2020-05-18 17:33:33 -04:00
2019-08-11 16:43:41 -04:00
2020-01-17 17:53:40 -05:00
2020-05-18 21:19:18 -04:00
2020-04-24 10:51:32 -04:00
2020-05-18 21:19:18 -04:00
2020-05-25 11:54:53 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 17:33:31 -04:00
2012-12-13 11:46:07 -07:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2019-12-02 18:23:11 -05:00
2018-05-10 20:38:35 -04:00
2020-05-15 14:47:35 -04:00
2012-04-29 14:14:08 +02:00
2020-05-18 21:19:18 -04:00
2020-05-18 17:33:31 -04:00
2020-05-18 21:19:18 -04:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:23 -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
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:18 -04:00
2019-08-11 16:43:41 -04:00
2020-02-05 19:33:46 -07:00
2020-04-24 16:40:09 -04:00
2018-05-07 09:34:12 -04:00
2020-05-18 21:19:23 -04:00
2020-05-01 11:03:24 -04:00
2020-05-18 21:19:18 -04:00
2018-11-29 09:30:06 -07:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-01-22 17:47:57 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 14:53:28 -04:00
2019-05-05 08:48:50 -04:00