[PATCH] x86, efi: initial the local variable of DataSize to zero

2013-04-26 Thread Lee, Chun-Yi
That will be better initial the value of DataSize to zero for the input of GetVariable(), otherwise we will feed a random value. The debug log of input DataSize like this: ... [ 195.915612] EFI Variables Facility v0.08 2004-May-17 [ 195.915819] efi: size: 18446744071581821342 [ 195.915969] efi:

Re: [GIT PULL] EFI urgent fix

2013-04-26 Thread Matt Fleming
On Fri, 26 Apr, at 09:40:46AM, Linus Torvalds wrote: > On Fri, Apr 26, 2013 at 9:30 AM, Matt Fleming wrote: > > Hi Peter, Linus, > > > > I've got a small patch that fixes a crash for the Google folks and their > > EFI SMI driver, which was caused by dereferencing a garbage pointer. > > Hmm. I alr

Re: [GIT PULL] EFI urgent fix

2013-04-26 Thread Linus Torvalds
On Fri, Apr 26, 2013 at 9:30 AM, Matt Fleming wrote: > Hi Peter, Linus, > > I've got a small patch that fixes a crash for the Google folks and their > EFI SMI driver, which was caused by dereferencing a garbage pointer. Hmm. I already took this from the earlier email you sent. Did it change since

[GIT PULL] EFI urgent fix

2013-04-26 Thread Matt Fleming
Hi Peter, Linus, I've got a small patch that fixes a crash for the Google folks and their EFI SMI driver, which was caused by dereferencing a garbage pointer. Please consider pulling. The following changes since commit f697036b93aa7345d4cbb3c854a76456c0ddac45: efi: Check EFI revision in setup