1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00
Files
u-boot-megous/lib
AKASHI Takahiro 52d7bfe787 efi_loader: image_loader: fix a Coverity check against array access
Coverity detected:
  Using "&opt->CheckSum" as an array.  This might corrupt or misinterpret
  adjacent memory locations.

The code should work as far as a structure, IMAGE_OPTIONAL_HEADER(64) is
packed, but modify it in more logical form. Subsystem is a member next to
CheckSum.

Reported-by: Coverity (CID 300339)
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2020-05-09 09:30:27 +02:00
..
2020-04-30 17:16:12 +08:00
2020-04-27 14:55:29 -04:00
2020-01-17 10:15:49 -05:00
2019-12-06 16:44:20 -05:00
2019-09-20 20:09:19 +02:00
2019-12-02 18:23:07 -05:00
2019-10-31 07:22:53 -04:00
2019-07-10 16:52:58 -06:00
2020-04-24 10:51:32 -04:00
2019-12-06 16:44:20 -05:00
2019-08-11 16:43:41 -04:00
2020-05-01 11:03:24 -04:00
2020-01-22 17:47:57 -05:00
2020-04-24 16:40:09 -04:00
2019-05-05 08:48:50 -04:00