commit | 54b3a4d311c98ad94b737802a8b5f2c8c6bfd627 | [log] [tgz] |
---|---|---|
author | Matthew Garrett <mjg@redhat.com> | Thu May 03 16:50:46 2012 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu May 03 17:19:19 2012 -0700 |
tree | f31c73c1330a04beb085a1c30a18b102684ef8ae | |
parent | fec6c20b570bcf541e581fc97f2e0cbdb9725b98 [diff] |
efivars: Improve variable validation Ben Hutchings pointed out that the validation in efivars was inadequate - most obviously, an entry with size 0 would server as a DoS against the kernel. Improve this based on his suggestions. Signed-off-by: Matthew Garrett <mjg@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>