Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 906242343f7a654402f6f999d447aa9d29a8f4d4
      
https://github.com/tianocore/edk2/commit/906242343f7a654402f6f999d447aa9d29a8f4d4
  Author: Guomin Jiang <guomin.ji...@intel.com>
  Date:   2022-03-03 (Thu, 03 Mar 2022)

  Changed paths:
    M MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c

  Log Message:
  -----------
  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...@intel.com>
Signed-off-by: Guomin Jiang <guomin.ji...@intel.com>


  Commit: b422b0fcf92dd4103dfc16d8d5f77fbec2d8c5b9
      
https://github.com/tianocore/edk2/commit/b422b0fcf92dd4103dfc16d8d5f77fbec2d8c5b9
  Author: Guomin Jiang <guomin.ji...@intel.com>
  Date:   2022-03-03 (Thu, 03 Mar 2022)

  Changed paths:
    M EmulatorPkg/EmuGopDxe/GopScreen.c

  Log Message:
  -----------
  EmulatorPkg/EmuGopDxe: Set ModeInfo after Open successfully

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2668

WindowOpen will fail in some case. for example, without XServer.

Shouldn't set ModeInfo in this case to avoid the caller use it
incorrectly

Reviewed-by: Ray Ni <ray...@intel.com>
Signed-off-by: Guomin Jiang <guomin.ji...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/dc39554d58af...b422b0fcf92d


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to