commit | 66028930dac08f7116b5e3cdba35c3e65676c0cd | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Wed Mar 09 19:56:23 2022 +0100 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Mar 12 12:27:07 2022 +0100 |
tree | 79a836954752d499b8006dbe07e81257b3eb9c60 | |
parent | f95104825a127e9e76923336b1f755a9554e3126 [diff] |
efi_loader: copy GUID in InstallProtocolInterface() InstallProtocolInterface() is called with a pointer to the protocol GUID. There is not guarantee that the memory used by the caller for the protocol GUID stays allocated. To play it safe the GUID should be copied to U-Boot's internal structures. Reported-by: Joerie de Gram <j.de.gram@gmail.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>