mirror of https://gitee.com/openkylin/linux.git
06c03cac94
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> |
||
---|---|---|
.. | ||
ARM-gcc.h | ||
ChangeLog | ||
Makefile | ||
double_cpdo.c | ||
entry.S | ||
entry26.S | ||
extended_cpdo.c | ||
fpa11.c | ||
fpa11.h | ||
fpa11.inl | ||
fpa11_cpdo.c | ||
fpa11_cpdt.c | ||
fpa11_cprt.c | ||
fpmodule.c | ||
fpmodule.h | ||
fpmodule.inl | ||
fpopcode.c | ||
fpopcode.h | ||
fpsr.h | ||
milieu.h | ||
single_cpdo.c | ||
softfloat-macros | ||
softfloat-specialize | ||
softfloat.c | ||
softfloat.h |