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-19 20:47:25 +0100 |
commit | a95f4c88599176d9a88dc19c02fa8dd95003eebf (patch) | |
tree | ee6ba5f4465adea29ffeb070d72c7570e0070d17 /lib/efi_loader/efi_device_path_to_text.c | |
parent | e3310c21a43c1e3c004c6b53ee9179420a1be375 (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_to_text.c')
0 files changed, 0 insertions, 0 deletions