mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 08:37:53 +07:00
9378cecb1c
Buffer overflow error should not occur, as mode_fixup() callback
filters pixel clock value and it should never exceed 600000. However,
current implementation is not obviously safe and relies on
implementation of mode_fixup().
Make 'i' variable never reach unsafe value in order to avoid buffer
overflow error.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes:
|
||
---|---|---|
.. | ||
adv7511 | ||
analogix | ||
synopsys | ||
analogix-anx78xx.c | ||
analogix-anx78xx.h | ||
dumb-vga-dac.c | ||
Kconfig | ||
lvds-encoder.c | ||
Makefile | ||
megachips-stdpxxxx-ge-b850v3-fw.c | ||
nxp-ptn3460.c | ||
panel.c | ||
parade-ps8622.c | ||
sii902x.c | ||
sii9234.c | ||
sil-sii8620.c | ||
sil-sii8620.h | ||
tc358767.c | ||
ti-tfp410.c |