diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-03-16 12:56:57 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-03-25 20:08:57 +0100 |
commit | 134d3387e1b794bbe1ba1747232f15d9376632c9 (patch) | |
tree | 09a0e360c6b687a93e1a2a35b3f6e820b1b1c14e /lib/efi_loader/efi_device_path.c | |
parent | df7d89a6fcd1920944c2e8b257525b3fb7226dbe (diff) |
efi_loader: NULL dereference in EFI console
Even if CONFIG_DM_VIDEO=y and stdout="vidconsole", a video device may not
be available. Check the return values of the relevant functions.
If no video output device is available, assume that the serial console is
in use.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_device_path.c')
0 files changed, 0 insertions, 0 deletions