diff options
author | Heinrich Schuchardt <[email protected]> | 2020-04-26 21:49:46 +0200 |
---|---|---|
committer | Ard Biesheuvel <[email protected]> | 2020-04-30 23:26:30 +0200 |
commit | 081d5150845ba3fa49151a2f55d3cc03b0987509 (patch) | |
tree | 682a9e7339b4a44db3b7f9ce223a333a041c88d7 /include/linux/fpga/fpga-mgr.h | |
parent | a088b858f16af85e3db359b6c6aaa92dd3bc0921 (diff) |
efi/libstub: Avoid returning uninitialized data from setup_graphics()
Currently, setup_graphics() ignores the return value of efi_setup_gop(). As
AllocatePool() does not zero out memory, the screen information table will
contain uninitialized data in this case.
We should free the screen information table if efi_setup_gop() returns an
error code.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions