]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand/efihttp: Work around a bug in edk2 http instance reconfiguration
authorD Scott Phillips <scottph@FreeBSD.org>
Wed, 9 Sep 2020 16:35:51 +0000 (16:35 +0000)
committerD Scott Phillips <scottph@FreeBSD.org>
Wed, 9 Sep 2020 16:35:51 +0000 (16:35 +0000)
commitd455cd5ac36f4c1ac76f04e2c2bb4bfb00fe8bcd
treef7be217a6d0245081f22202c335f0156ad47cb0e
parent022c2f5570f14c24186847d93298c0c17fac5e9b
stand/efihttp: Work around a bug in edk2 http instance reconfiguration

A bug in the EFI HTTP driver of TianoCore EDK2 causes memory
corruption when an http instance that uses tls is reconfigured,
leading to a crash.

Work around this by forcing a new http instance for each request
instead of reconfiguring the existing one.

The upstream bug report is https://bugzilla.tianocore.org/show_bug.cgi?id=1917

Submitted by: bcran
Reviewed By: imp, kevans, tsoome
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D21281
stand/efi/libefi/efihttp.c