Re: [PATCH] Fix a segfault in lsefi

2017-08-03 Thread Daniel Kiper
On Thu, Jul 27, 2017 at 03:44:08PM +0200, Daniel Kiper wrote: > On Wed, Jul 19, 2017 at 03:47:41PM -0400, Peter Jones wrote: > > From: Rob Clark > > > > when protocols_per_handle returns error, we can't use the pointers we > > passed to it, and that includes trusting num_protocols. > > > > Signed-

Re: [PATCH] Fix a segfault in lsefi

2017-07-27 Thread Daniel Kiper
On Wed, Jul 19, 2017 at 03:47:41PM -0400, Peter Jones wrote: > From: Rob Clark > > when protocols_per_handle returns error, we can't use the pointers we > passed to it, and that includes trusting num_protocols. > > Signed-off-by: Peter Jones LGTM, if there are no objections I will apply it next

[PATCH] Fix a segfault in lsefi

2017-07-19 Thread Peter Jones
From: Rob Clark when protocols_per_handle returns error, we can't use the pointers we passed to it, and that includes trusting num_protocols. Signed-off-by: Peter Jones --- grub-core/commands/efi/lsefi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/grub-core/commands/