diff options
| author | Khalid Ali <khaliidcaliy@gmail.com> | 2026-10-08 10:11:39 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-11 09:58:28 +0300 |
| commit | 1a44fc33295d32653fb114e1f1b9b91a81d47239 (patch) | |
| tree | 656bbc6f3dc993ed9fec8f6527dda267dbcb5f29 /BaseTools/Source/Python | |
| parent | 870158586f14dbf9d57e312ea6ea87141a1b0699 (diff) | |
| download | edk2-1a44fc33295d32653fb114e1f1b9b91a81d47239.tar.xz | |
The function CoreInstallProtocolInterfaceNotify() checks if the protocol
already installed on handle by using HandleProtocol(). And later
HandleProtocol() calls OpenProtocol(). If it is determined that protocol
is present on handle, the protocol is being left open which could leak
internal resources.
This change replaces HandleProtocol() with OpenProtocol() with test
attribute, thus no CloseProtocol() is required.
Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions
