diff options
author | Guomin Jiang <guomin.jiang@intel.com> | 2022-02-20 14:53:01 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-03-03 05:17:46 +0000 |
commit | 906242343f7a654402f6f999d447aa9d29a8f4d4 (patch) | |
tree | 48006d5a13db0a671d8e504d0ec0f5448273635c /EmulatorPkg | |
parent | dc39554d58af4a50b50eca1f57c49415a12b0c98 (diff) | |
download | edk2-906242343f7a654402f6f999d447aa9d29a8f4d4.tar.gz |
MdeModulePkg/GraphicsConsoleDxe: Check status to make sure no error
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2668
SetMode will fail in some case. for example, without XServer.
Should handle these case when SetMode fail.
If we don't handle it, it will Segmentation fault.
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Diffstat (limited to 'EmulatorPkg')
0 files changed, 0 insertions, 0 deletions