]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Core/Dxe/Image/ImageFile.c
[Description]
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 Mar 2008 02:05:57 +0000 (02:05 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 19 Mar 2008 02:05:57 +0000 (02:05 +0000)
commit1564e9ac2cd2756b400feb98676e1a53806fcea2
tree91c2919341a8fa71bf531e3cbe6a4504a00190cd
parentd63e4c23080e9a77fad69911c012e878fe6175a4
[Description]
Duplicate the device path prior to the access to it
[Impaction]
directly access the device path may cause an exception when the device path includes some unaligned device path nodes
[Reference Info]
In the case of ISCSI, there is a situation that the device path may consists of some unaligned device path node. it causes the unaligned exception when we access the node.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4905 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Core/Dxe/Image/ImageFile.c