aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorJan H. Schönherr <[email protected]>2017-08-27 18:23:43 +0000
committerIngo Molnar <[email protected]>2017-08-29 11:32:50 +0000
commitfb1cc2f91664fd8a2e454970480b5413725919f1 (patch)
treefce72809a3f0b6248af9f98c0f98323163ef0b86 /drivers/pwm/pwm-stm32-lp.c
parentx86/boot: Provide more slack space during decompression (diff)
downloadkernel-fb1cc2f91664fd8a2e454970480b5413725919f1.tar.gz
kernel-fb1cc2f91664fd8a2e454970480b5413725919f1.zip
x86/boot: Prevent faulty bootparams.screeninfo from causing harm
If a zero for the number of lines manages to slip through, scroll() may underflow some offset calculations, causing accesses outside the video memory. Make the check in __putstr() more pessimistic to prevent that. Signed-off-by: Jan H. Schönherr <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Kees Cook <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[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 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions