Re: [PATCH 1/3] EFI: Populate descriptor_count value only when image_info_size is not zero

2022-06-01 Thread Ilias Apalodimas
On Wed, 1 Jun 2022 at 08:49, Heinrich Schuchardt wrote: > > On 5/31/22 09:15, Sughosh Ganu wrote: > > The GetImageInfo function of the Firmware Mangement Protocol(FMP) gets > > called initially to query the size of the image descriptor array that > > would have to be allocated. During this call,

Re: [PATCH 1/3] EFI: Populate descriptor_count value only when image_info_size is not zero

2022-05-31 Thread Heinrich Schuchardt
On 5/31/22 09:15, Sughosh Ganu wrote: The GetImageInfo function of the Firmware Mangement Protocol(FMP) gets called initially to query the size of the image descriptor array that would have to be allocated. During this call, the rest of the function arguments, specifically pointers might be

[PATCH 1/3] EFI: Populate descriptor_count value only when image_info_size is not zero

2022-05-31 Thread Sughosh Ganu
The GetImageInfo function of the Firmware Mangement Protocol(FMP) gets called initially to query the size of the image descriptor array that would have to be allocated. During this call, the rest of the function arguments, specifically pointers might be passed as NULL. Do not populate the