u-boot-brain/lib/efi_selftest
Heinrich Schuchardt 05aceb2b1c efi_selftest: block device: avoid read after free
Reading the position in a file after closing the same results in a read
after free.

Correct the sequence in the test.

Reported-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-12-23 02:04:25 +01:00
..
.gitignore efi_selftest: update .gitignore 2018-07-25 14:57:43 +02:00
efi_selftest_bitblt.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_block_device.c efi_selftest: block device: avoid read after free 2018-12-23 02:04:25 +01:00
efi_selftest_config_table.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_console.c efi_loader: struct efi_simple_text_input_protocol 2018-09-23 21:55:29 +02:00
efi_selftest_controllers.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_crc32.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_devicepath_util.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_devicepath.c efi_loader: typedef struct efi_object *efi_handle_t 2018-12-02 21:59:36 +01:00
efi_selftest_disk_image.h SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_selftest_event_groups.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_events.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_exception.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_exitbootservices.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_fdt.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_gop.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_loaded_image.c efi_selftest: incorrect use of bitwise or 2018-12-02 21:59:37 +01:00
efi_selftest_manageprotocols.c efi_loader: UninstallMultipleProtocolInterfaces error code 2018-12-02 21:59:36 +01:00
efi_selftest_memory.c efi_selftest: check fdt is marked as runtime data 2018-12-02 21:59:37 +01:00
efi_selftest_miniapp_exit.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_miniapp_return.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_rtc.c efi_selftest: unit test for GetTime() 2018-07-25 15:00:24 +02:00
efi_selftest_snp.c efi_selftest: fix simple network protocol test 2018-12-02 21:59:37 +01:00
efi_selftest_startimage_exit.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_startimage_return.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
efi_selftest_textinput.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_textinputex.c efi_selftest: missing braces in efi_selftest_textinputex.c 2018-09-23 21:55:30 +02:00
efi_selftest_textoutput.c efi_selftest: updating the cursor position 2018-06-03 15:27:20 +02:00
efi_selftest_tpl.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_unaligned.c SPDX: Fixup tags from latest EFI PR 2018-06-03 16:10:22 -04:00
efi_selftest_unicode_collation.c efi_loader: do not use unsupported printf code 2018-12-02 21:59:37 +01:00
efi_selftest_util.c efi_selftest: refactor text input test 2018-09-23 21:55:30 +02:00
efi_selftest_variables.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest_watchdog.c efi_selftest: fix typos 2018-12-02 21:59:36 +01:00
efi_selftest.c efi_selftest: rename setup_ok 2018-12-02 21:59:37 +01:00
Kconfig efi_selftest: building sandbox with EFI_SELFTEST 2018-12-02 21:59:37 +01:00
Makefile efi_selftest: add test for memory allocation 2018-12-02 21:59:37 +01:00