Re: [U-Boot] [PATCH v2] efi_loader: initialise partition_signature memory

2017-11-23 Thread Artturi Alm
On Wed, Nov 22, 2017 at 02:18:59PM +1100, Jonathan Gray wrote: > Zero partition_signature in the efi_device_path_hard_drive_path > structure when signature_type is 0 (no signature) as required by the > UEFI specification. > > This is required so that efi_dp_match() will work as expected > when doi

[U-Boot] [PATCH v2] efi_loader: initialise partition_signature memory

2017-11-21 Thread Jonathan Gray
Zero partition_signature in the efi_device_path_hard_drive_path structure when signature_type is 0 (no signature) as required by the UEFI specification. This is required so that efi_dp_match() will work as expected when doing memcmp() comparisons. Previously uninitialised memory would cause it no