]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/VolInfo: Fix EFI_SECTION_GUID_DEFINED parsing
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Tue, 30 Aug 2022 10:14:40 +0000 (18:14 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 2 Oct 2022 05:34:38 +0000 (05:34 +0000)
commit8be33c6544fae522e32c045ad81bac4d333dccb0
tree563c71c117db145fc434a49b00d9ce8f2aaf00a6
parent9fc029ee6248e7998a478e02dc1abf82ac8ae376
BaseTools/VolInfo: Fix EFI_SECTION_GUID_DEFINED parsing

Currently 'PutFileImage' function is called with arguments that are
not advanced on each section parsing. This would lead to an error if
EFI_SECTION_GUID_DEFINED is not the first in a file.
The same mistake is present in the parsing of CRC32 guided section
case.
Use correct arguments to fix the issue.

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Source/C/VolInfo/VolInfo.c