Stefan Sørensen
1ef1cf1f93
efi_loader: loosen buffer parameter check in efi_file_read
...
When reading a directory, EFI_BUFFER_TOO_SMALL should be returned when
the supplied buffer is too small, so a use-case is to call
efi_file_read with *buffer_size=0 and buffer=NULL to obtain the needed
size before doing the actual read.
So move the buffer!=NULL check to after the buffer size has been checked.
This fix allows the Redhat shim fallback to run and e.g. Fedora 32 now
boots out of the box.
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com >
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2020-07-22 12:32:41 +02:00
..
2020-07-17 14:32:24 +08:00
2020-01-17 10:16:29 -05: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-07-22 12:32:41 +02:00
2020-07-11 23:14:17 +02: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
2020-06-15 11:23:40 -04:00
2020-07-11 23:14:16 +02:00
2020-07-17 08:51:29 -04:00
2020-02-05 19:33:46 -07:00
2020-01-22 17:47:57 -05: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-07-17 14:32:24 +08:00
2020-05-09 09:30:28 +02:00
2020-05-18 21:19:18 -04:00
2019-12-02 18:23:07 -05:00
2019-12-02 18:23:08 -05:00
2019-12-06 16:44:19 -05:00
2020-07-08 17:21:46 -04: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
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-07-17 09:30:13 -04: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-07-01 15:01:21 +08:00
2020-04-24 10:51:32 -04:00
2020-05-18 21:19:18 -04:00
2020-07-10 14:10:43 -04:00
2020-05-18 17:33:31 -04:00
2020-05-18 21:19:18 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 08:45:29 -04:00
2020-06-12 13:14:07 -04: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
2020-06-12 13:14:07 -04:00
2020-05-18 21:19:18 -04:00
2020-06-05 04:04:41 +02:00
2020-02-05 19:33:46 -07:00
2020-06-15 11:23:41 -04:00
2020-07-17 14:32:24 +08:00
2020-05-01 11:03:24 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:18 -04:00
2020-07-08 15:38:32 -04:00
2020-07-07 18:23:48 -04:00
2020-05-18 18:36:55 -04:00
2020-07-01 11:48:05 -04:00