Re: [U-Boot] [PATCH] efi_loader: Fix crash on 32-bit systems

2016-09-14 Thread Robin Randhawa
Hi Alex. On Wed 14 Sep 08:34:47 2016, Alexander Graf wrote: [...] > Very nice catch! Thanks! [...] > Can you please double-check that this is the only place the type > mismatch happened? So I skimmed through the boot and run-time service API implementations and couldn't spot another

Re: [U-Boot] [PATCH] efi_loader: Fix crash on 32-bit systems

2016-09-14 Thread Alexander Graf
> On 13 Sep 2016, at 19:36, Robin Randhawa wrote: > > A type mismatch in the efi_allocate_pool boot service flow causes > hazardous memory scribbling on 32-bit systems. > > This is efi_allocate_pool's prototype: > > static efi_status_t EFIAPI efi_allocate_pool(int

[U-Boot] [PATCH] efi_loader: Fix crash on 32-bit systems

2016-09-13 Thread Robin Randhawa
A type mismatch in the efi_allocate_pool boot service flow causes hazardous memory scribbling on 32-bit systems. This is efi_allocate_pool's prototype: static efi_status_t EFIAPI efi_allocate_pool(int pool_type, unsigned long size,