summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorMichael Brown <mbrown@fensystems.co.uk>2014-07-10 12:26:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-31 12:52:57 -0700
commit5d608f59360e7622c2640853d8b70b77242c1a93 (patch)
tree98e7b49d0854cbdba2140d8121b0cf3aa2c52886 /net/wireless
parentb7fd0d5939ff4b94881ab71ebebf790deef49ddd (diff)
x86/efi: Include a .bss section within the PE/COFF headers
commit c7fb93ec51d462ec3540a729ba446663c26a0505 upstream. The PE/COFF headers currently describe only the initialised-data portions of the image, and result in no space being allocated for the uninitialised-data portions. Consequently, the EFI boot stub will end up overwriting unexpected areas of memory, with unpredictable results. Fix by including a .bss section in the PE/COFF headers (functionally equivalent to the init_size field in the bzImage header). Signed-off-by: Michael Brown <mbrown@fensystems.co.uk> Cc: Thomas Bächler <thomas@archlinux.org> Cc: Josh Boyer <jwboyer@fedoraproject.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions