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

2022-06-10 Thread Peter Griffin
Hi Sughosh, On Wed, 1 Jun 2022 at 19:01, 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,

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

2022-06-01 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