summary refs log tree commit diff
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-07-30 12:23:32 -0700
committerMatt Fleming <matt.fleming@intel.com>2014-10-03 18:40:58 +0100
commit1282278ee00b41f314d1bce058a6b28b1bd49c21 (patch)
treec53701f6f931629699d4ec01373ebaa92ecc57e5 /lib/cmdline.c
parent5a17dae422d7de4b776a9753cd4673a343a25b4b (diff)
downloadlinux-1282278ee00b41f314d1bce058a6b28b1bd49c21.tar.gz
efi-bgrt: Add error handling; inform the user when ignoring the BGRT
Gracefully handle failures to allocate memory for the image, which might
be arbitrarily large.

efi_bgrt_init can fail in various ways as well, usually because the
BIOS-provided BGRT structure does not match expectations.  Add
appropriate error messages rather than failing silently.

Reported-by: Srihari Vijayaraghavan <linux.bug.reporting@gmail.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81321
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'lib/cmdline.c')
0 files changed, 0 insertions, 0 deletions