diff options
author | Mike Travis <[email protected]> | 2016-08-01 13:40:51 -0500 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-08-10 15:55:38 +0200 |
commit | e363d24c2b997c421476c6aa00547edadf678efe (patch) | |
tree | a74a622cf1badec01f4f4bd67e98ec6ecebd1fc6 /lib/mpi/mpiutil.c | |
parent | 054f621fd5b1c7245710f5d3935c94ce6ae4b3b7 (diff) |
x86/platform/UV: Fix bug with iounmap() of the UV4 EFI System Table causing a crash
Save the uv_systab::size field before doing the iounmap()
of the struct pointer, to avoid a NULL dereference crash.
Tested-by: Frank Ramsay <[email protected]>
Tested-by: John Estabrook <[email protected]>
Signed-off-by: Mike Travis <[email protected]>
Reviewed-by: Dimitri Sivanich <[email protected]>
Reviewed-by: Nathan Zimmer <[email protected]>
Cc: Alex Thorlton <[email protected]>
Cc: Andrew Banman <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russ Anderson <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions