Merge "fix(rmmd): fix bug, raised by coverity, when zeroing manifest struct" into integration

This commit is contained in:
Alexei Fedorov 2024-04-04 14:50:55 +02:00 committed by TrustedFirmware Code Review
commit 2cbc8952a5

View file

@ -234,7 +234,7 @@ int rmmd_setup(void)
/* Zero out and load the boot manifest at the beginning of the share area */ /* Zero out and load the boot manifest at the beginning of the share area */
manifest = (struct rmm_manifest *)shared_buf_base; manifest = (struct rmm_manifest *)shared_buf_base;
memset((void *)manifest, 0, sizeof(manifest)); (void)memset((void *)manifest, 0, sizeof(struct rmm_manifest));
rc = plat_rmmd_load_manifest(manifest); rc = plat_rmmd_load_manifest(manifest);
if (rc != 0) { if (rc != 0) {