summaryrefslogtreecommitdiff
path: root/arch/arm/nwfpe/fpa11_cpdt.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2005-11-08 00:12:07 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-08 00:12:07 +0300
commit06c03cac9487555478c7d80065ebf7818bf6fd06 (patch)
tree1a03ff9ae347f40c11d0e3eee790a1b88ff29cc1 /arch/arm/nwfpe/fpa11_cpdt.c
parent862184fe013146a0d9654a5598c5a2691747541c (diff)
downloadlinux-06c03cac9487555478c7d80065ebf7818bf6fd06.tar.xz
[ARM] 3117/1: nwfpe kernel memory info leak
Patch from Lennert Buytenhek The routine that nwfpe uses for converting floats/doubles to extended precision fails to zero two bytes of kernel stack. This is not immediately obvious, as the floatx80 structure has 16 bits of implicit padding (by design.) These two bytes are copied to userspace when an stfe is emulated, causing a possible info leak. Make the padding explicit and zero it out in the relevant places. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/nwfpe/fpa11_cpdt.c')
0 files changed, 0 insertions, 0 deletions