Zbigniew Jędrzejewski-Szmek
bceda88b52
boot/efi: fix NULL dereference
...
The comment above makes the intent of the code pretty clear:
"use security2_protocol == NULL as indicator".
So revert the condition in the check and fix the logic in the comment while
at it.
The question is how this could have ever worked: if BS->LocateProtocol
(which is supposedly optional) ever failed, we'd crash here. Strange.
Found by coverity.
2017-11-28 09:25:38 +01:00
..
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-20 10:57:41 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-26 12:46:56 +01:00
2017-11-19 19:08:15 +01:00
2017-11-28 09:25:38 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-25 17:08:21 +01:00
2017-11-24 10:37:08 +00:00
2017-11-24 10:33:41 +00:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-20 16:43:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-25 19:11:57 +09:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-20 16:43:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-24 10:37:08 +00:00
2017-11-19 19:08:15 +01:00
2017-11-25 19:00:44 +09:00
2017-11-20 13:06:25 -08:00
2017-11-19 19:08:15 +01:00
2017-11-24 10:33:41 +00:00
2017-11-24 10:33:41 +00:00
2017-11-24 10:31:49 +00:00
2017-11-24 10:33:41 +00:00
2017-11-27 08:15:07 +01:00
2017-11-25 19:00:49 +09:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:49:11 +01:00
2017-11-28 09:25:38 +01:00
2017-11-19 19:08:15 +01:00
2017-11-25 21:11:07 +09:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-24 09:31:08 +00:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-28 09:25:38 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-24 17:01:32 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-26 15:07:53 +01:00
2017-11-24 10:33:41 +00:00
2017-11-20 13:06:25 -08:00
2017-11-24 22:28:14 +01:00
2017-11-19 19:08:15 +01:00
2017-11-24 13:32:03 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00
2017-11-19 19:08:15 +01:00