summaryrefslogtreecommitdiff
path: root/lib/tpm-common.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-05-30 14:16:31 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-05-31 23:27:12 +0200
commitdae7ce451c5eaaae98014a4062950cd646f78c2d (patch)
treebef9ee3104e539a4fc3c3f95fa9b6efa7dfa810d /lib/tpm-common.c
parent399a39e34af00e7342406405dc0300da0557277b (diff)
efi_loader: avoid crash in OpenProtocol()
When trying to open a protocol exclusively attached drivers have to be removed. This removes entries in the open protocol information linked list over which we are looping. As additionally child controllers may have been removed the only safe thing to do is to restart the loop over the linked list when a driver is removed. By observing the return code of DisconnectController() we can eliminate a loop. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/tpm-common.c')
0 files changed, 0 insertions, 0 deletions