Simon Glass
c5819701a3
image: Adjust the workings of fit_check_format()
...
At present this function does not accept a size for the FIT. This means
that it must be read from the FIT itself, introducing potential security
risk. Update the function to include a size parameter, which can be
invalid, in which case fit_check_format() calculates it.
For now no callers pass the size, but this can be updated later.
Also adjust the return value to an error code so that all the different
types of problems can be distinguished by the user.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Bruce Monroe <bruce.monroe@intel.com>
Reported-by: Arie Haenel <arie.haenel@intel.com>
Reported-by: Julien Lenoir <julien.lenoir@intel.com>
2021-02-15 22:31:52 -05:00
..
2020-05-18 18:36:55 -04:00
2020-09-09 16:57:35 -04:00
2021-02-08 08:53:14 +01:00
2021-01-29 10:36:49 -05:00
2020-12-13 07:58:17 -07:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2017-02-08 15:56:28 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-02-02 15:33:42 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-19 14:01:47 -04:00
2020-12-18 20:32:21 -07:00
2021-01-31 14:08:56 +01:00
2021-02-15 10:16:45 -05:00
2021-02-02 15:33:42 -05:00
2020-08-22 07:58:39 -06:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-02-15 22:31:52 -05:00
2021-02-02 15:33:42 -05:00
2021-02-15 22:31:52 -05:00
2021-01-16 14:49:09 -05:00
2020-05-18 18:36:55 -04:00
2020-08-05 08:18:34 -04:00
2020-05-18 18:36:55 -04:00
2020-12-13 16:51:08 -07:00
2020-05-18 18:36:55 -04:00
2020-05-27 14:40:09 +08:00
2020-08-24 11:03:26 +02:00
2020-08-24 14:11:31 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-01-13 02:38:01 +01:00
2020-05-18 18:36:55 -04:00
2020-12-18 20:32:21 -07:00
2020-05-18 18:36:55 -04:00
2021-01-30 14:25:41 -07:00
2020-05-18 18:36:55 -04:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2021-01-31 14:08:56 +01:00
2020-05-18 18:36:55 -04:00
2021-02-15 22:31:52 -05:00
2020-07-07 15:37:13 -04:00
2021-01-25 01:15:33 +01:00
2020-05-18 21:19:23 -04:00
2021-02-02 15:33:42 -05:00
2021-02-04 20:09:02 +01:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:23 -04:00
2020-10-23 13:33:07 -04:00
2020-07-09 18:57:22 -06:00
2020-05-18 21:19:18 -04:00
2021-02-15 22:31:52 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-07-07 15:36:59 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2021-01-16 14:48:23 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-12-13 16:51:09 -07:00
2020-12-18 20:32:21 -07:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-12-01 10:33:38 -05:00
2020-05-18 21:19:23 -04:00
2021-02-01 15:11:40 +08:00
2020-12-13 16:51:08 -07:00
2020-05-18 18:36:55 -04:00
2019-12-04 17:10:51 -05:00
2019-12-04 17:10:51 -05:00
2020-05-18 18:36:55 -04:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:08 -07:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-01-18 15:23:06 -05:00
2021-01-15 16:00:32 -05:00
2020-05-18 18:36:55 -04:00
2020-08-03 22:19:54 -04:00
2021-02-02 15:33:42 -05:00
2020-05-18 18:36:55 -04:00
2020-08-03 22:19:54 -04:00
2020-12-18 20:32:21 -07:00
2020-06-24 09:51:22 +08:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-02-02 15:33:42 -05:00
2020-10-28 11:49:31 -04:00
2021-02-15 22:31:52 -05:00
2020-09-30 16:55:03 -04:00
2020-08-24 16:37:53 +02:00
2021-02-02 15:33:42 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-10-23 16:52:09 +05:30
2020-12-18 20:32:21 -07:00
2020-07-08 17:21:46 -04:00
2020-07-07 15:22:42 -04:00
2020-05-18 18:36:55 -04:00
2020-12-18 20:32:21 -07:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-12-18 20:32:21 -07:00
2021-02-02 15:33:42 -05:00
2020-08-14 15:18:30 -04:00
2021-01-18 15:23:06 -05:00
2021-02-03 23:16:44 +08:00
2021-02-02 15:33:42 -05:00
2020-09-23 14:29:57 +02:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-12-13 16:51:09 -07:00
2020-05-18 18:36:55 -04:00
2021-01-05 12:24:41 -07:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-07-09 06:02:45 +02:00
2020-05-18 18:36:55 -04:00
2021-02-02 15:33:42 -05:00
2020-05-18 18:36:55 -04:00
2020-12-01 10:33:38 -05:00
2020-06-29 13:34:43 -04:00
2020-05-18 18:36:55 -04:00
2021-01-27 17:07:48 -05:00
2020-05-18 18:36:55 -04:00
2021-02-02 15:33:42 -05:00
2021-02-15 22:31:52 -05:00
2020-06-29 13:34:43 -04:00
2021-02-02 15:33:42 -05:00
2020-08-07 22:31:32 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2021-01-31 14:08:56 +01:00
2020-05-18 18:36:55 -04:00
2020-10-23 13:33:07 -04:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-12-03 21:22:40 +01:00
2020-05-18 18:36:55 -04:00
2020-05-18 21:19:18 -04:00
2021-01-04 09:10:17 -05:00
2020-05-18 21:19:18 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-01-31 14:08:56 +01:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-12-18 20:32:21 -07:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2021-02-15 22:31:52 -05:00
2020-05-18 18:36:55 -04:00
2020-05-18 18:36:55 -04:00
2020-05-25 11:54:53 -04:00