diff options
| author | Peter Jones <pjones@redhat.com> | 2021-09-16 16:43:24 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-10-12 10:40:13 -0400 |
| commit | 1872c929cc3a466c75336307901e67917bcc46bc (patch) | |
| tree | 0b229857c707d70b15083ab54716d4d899722445 /lib/variables.c | |
| parent | 41319e14c9144063605750baccd5bb332a3cf4fc (diff) | |
| download | efi-boot-shim-1872c929cc3a466c75336307901e67917bcc46bc.tar.gz efi-boot-shim-1872c929cc3a466c75336307901e67917bcc46bc.zip | |
console: check that ST->ConIn and ST->ConOut are non-NULL
There's been some discussion on how to handle machines without console
devices. The consensus so far has been that they should have dummy
ConOut implementations, but that means the first vendor to build a
machine without asking around is in for some surprises.
This patch makes the places where our console library uses ST->ConIn or
ST->ConOut check that they're present before doing so.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions
