u-boot/lib/efi_loader
Heinrich Schuchardt fdef298338 efi_loader: HII protocols: fix new_package_list()
In new_package_list() we call new_packagelist() to create a new package
list. Next we try to add the packages which fails for form packages. Due
to this error we call free_packagelist(). Now in free_packagelist()
list_del() is called for an uninitialized field hii->link. This leads to
changing random memory addresses.

To solve the problem move the initialization of hii->link to
new_packagelist().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
2019-03-02 23:34:26 +01:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_acpi.c efi_loader: Install ACPI configuration tables 2018-07-02 09:23:28 +08:00
efi_bootmgr.c efi_loader: define load option attributes 2019-02-25 12:47:13 +01:00
efi_boottime.c efi_loader: fix EFI entry counting 2019-02-16 15:42:20 +01:00
efi_console.c efi_loader: fix typos 2018-12-02 21:59:37 +01:00
efi_device_path.c efi_loader: do not add \ in efi_fs_from_name() 2019-03-02 23:34:26 +01:00
efi_device_path_to_text.c efi_loader: fix typos 2018-12-02 21:59:37 +01:00
efi_device_path_utilities.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_disk.c efi_loader: rename parent to header 2018-12-02 21:59:36 +01:00
efi_file.c efi_loader: comments for efi_file_from_path() 2019-02-16 15:42:19 +01:00
efi_freestanding.c efi_loader: provide freestanding library 2019-02-13 09:40:06 +01:00
efi_gop.c efi_loader: fix typos 2018-12-02 21:59:37 +01:00
efi_hii.c efi_loader: HII protocols: fix new_package_list() 2019-03-02 23:34:26 +01:00
efi_hii_config.c efi_loader: debug output for HII protocols 2019-02-13 09:40:06 +01:00
efi_image_loader.c efi_loader: do not miss last relocation block 2019-02-16 15:51:14 +01:00
efi_memory.c efi_loader: fix memory allocation on sandbox 2019-02-13 09:40:05 +01:00
efi_net.c efi_loader: fix simple network protocol 2018-12-02 21:59:37 +01:00
efi_root_node.c efi_loader: create root node 2018-09-23 21:55:31 +02:00
efi_runtime.c efi_loader: efi_add_runtime_mmio() 2019-02-13 09:40:05 +01:00
efi_setup.c efi_loader: move efi_init_obj_list() to a new efi_setup.c 2019-02-13 09:40:05 +01:00
efi_smbios.c sandbox: smbios: Update to support sandbox 2018-12-02 21:59:37 +01:00
efi_unicode_collation.c efi_loader: EFI_UNICODE_COLLATION_PROTOCOL 2018-09-23 21:55:29 +02:00
efi_variable.c efi_loader: fix GetNextVariableName 2019-02-13 09:40:06 +01:00
efi_watchdog.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
helloworld.c efi_loader: use library memcpy() in helloworld.efi 2019-02-13 09:40:06 +01:00
Kconfig efi_loader: Make HII a config option 2019-02-13 09:40:06 +01:00
Makefile efi: hii: add HII config routing/access protocols 2019-02-13 09:40:06 +01:00