The HII IFR structures are allocated via realloc() rather than zalloc(), and so are not automatically zeroed. This results in the presence of uninitialised and invalid data, causing crashes elsewhere in the UEFI firmware. Fix by explicitly zeroing the newly allocated portion of any IFR structure in efi_ifr_op(). Debugged-by: Laszlo Ersek <lersek@redhat.com> Debugged-by: Gary Lin <glin@suse.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
117 | 117 |
|
118 | 118 |
|
119 | 119 |
|
120 |
|
|
120 | 121 |
|
121 | 122 |
|
122 | 123 |
|