]> git.proxmox.com Git - mirror_edk2.git/commit
Prevent a NULL device path from being passed into REPORT_STATUS_CODE_WITH_DEVICE_PATH...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 22:29:54 +0000 (22:29 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 22:29:54 +0000 (22:29 +0000)
commitabef1c7a096faf26c0bb32897de6cf07ec256863
treeda9f7207b1918da6105fedfe883e83ca8682d086
parentc3522526f18e732b15ddfed48ca24eabdb5c1a23
Prevent a NULL device path from being passed into REPORT_STATUS_CODE_WITH_DEVICE_PATH by building child device path before using any of the Serial I/O Protocol services.
This guarantees that child device path is valid even if an error is returned from one of Serial I/O Protocol services in Start().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11210 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c