diff options
author | Josh Triplett <josh@joshtriplett.org> | 2014-07-30 12:23:32 -0700 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-10-03 18:40:58 +0100 |
commit | 1282278ee00b41f314d1bce058a6b28b1bd49c21 (patch) | |
tree | c53701f6f931629699d4ec01373ebaa92ecc57e5 /lib | |
parent | 5a17dae422d7de4b776a9753cd4673a343a25b4b (diff) | |
download | linux-1282278ee00b41f314d1bce058a6b28b1bd49c21.tar.bz2 |
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')
0 files changed, 0 insertions, 0 deletions