efi_loader: QueryMode() must allocate buffer
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 15 Jun 2019 12:07:40 +0000 (14:07 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 20 Jun 2019 22:26:15 +0000 (22:26 +0000)
commit97cf20861ac2a359bcde930d4ab17cec70da81f7
tree37ec4765c805b3cda76c3fa383545efeaa146a31
parent1f7a8b3389d66f279bf75fcfdd10c1c7d2561d6e
efi_loader: QueryMode() must allocate buffer

EFI_GRAPHICS_OUTPUT_PROTOCOL.QueryMode() must allocate a buffer for the
mode information structure.

Adjust the unit test to free the buffer.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_gop.c
lib/efi_selftest/efi_selftest_gop.c