Konrad Beckmann
f1c85688ab
image-sig: Ensure that hashed-nodes is null-terminated
...
A specially crafted FIT image leads to memory corruption in the stack
when using the verified boot feature. The function fit_config_check_sig
has a logic error that makes it possible to write past the end of the
stack allocated array node_inc. This could potentially be used to bypass
the signature check when using verified boot.
This change ensures that the number of strings is correct when counted.
Signed-off-by: Konrad Beckmann <konrad.beckmann@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2018-11-16 16:52:01 -05:00
..
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-11-09 10:44:50 -05:00
2018-05-10 20:38:25 -04:00
2018-10-07 11:07:25 -04:00
2013-04-01 16:33:52 -04:00
2018-11-16 13:34:34 -05:00
2018-05-07 09:34:12 -04:00
2018-10-06 09:04:18 -04:00
2018-05-07 09:34:12 -04:00
2018-10-10 13:35:09 -04:00
2018-09-26 15:03:12 +02: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
2018-09-10 20:20:34 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-07-19 10:49:53 +02:00
2018-11-09 10:44:50 -05:00
2018-09-10 20:20:34 -04:00
2018-10-09 04:40:27 -06:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-26 18:19:19 -04:00
2013-04-01 16:33:52 -04:00
2018-05-07 09:34:12 -04:00
2015-07-20 11:44:37 -07:00
2018-09-10 20:48:17 -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
2018-08-20 07:21:29 -04:00
2018-05-07 09:34:12 -04:00
2018-09-26 15:03:12 +02:00
2018-07-10 16:55:56 -04:00
2018-11-16 16:52:01 -05:00
2018-10-22 13:01:27 +02:00
2018-05-07 09:34:12 -04:00
2018-06-18 14:02:04 -04:00
2018-10-05 16:55:42 +03:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -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
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-09 04:40:26 -06:00
2018-04-27 14:54:48 -04:00
2018-05-07 09:34:12 -04:00
2018-11-09 13:45:42 -05:00
2018-08-24 13:20:19 -04:00
2018-07-10 16:55:59 -04:00
2018-06-05 20:19:08 -04:00
2018-10-24 14:45:36 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2017-08-16 08:30:24 -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
2018-07-19 10:49:54 +02:00
2018-11-14 09:16:27 -08:00
2018-05-07 09:34:12 -04:00
2018-05-10 20:38:34 -04:00