]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Fix multiple objects parsing
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 9 Dec 2021 09:25:05 +0000 (10:25 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 13 Dec 2021 12:48:42 +0000 (12:48 +0000)
commitec37fd9c1fbc6c14ad3291b415ad6677a022a554
treeb2502020426db1bb0cf0fe670af914cf6370b38a
parente35a746cf56420d22bcf2a838213379b9de27c7e
DynamicTablesPkg: Fix multiple objects parsing

When a CmObjDesc contains multiple objects, only the first one is
parsed as the buffer doesn't progress. Fix this.
Also check that the whole buffer has been parsed with an asset.

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c