aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMoudy Ho <[email protected]>2023-03-27 11:13:24 +0800
committerHans Verkuil <[email protected]>2023-04-11 17:17:45 +0200
commit4168720753ce6c14c5d3a35302fc2e1841383443 (patch)
tree083abeabb4030a9db3ea7f3bd737e50a46f809e3 /tools/perf/scripts/python/bin
parent0356c10dbf19b9e1ff3573fb5d1e6fc673b29a3d (diff)
media: platform: mtk-mdp3: fix potential frame size overflow in mdp_try_fmt_mplane()
Fix overflow risk when setting certain formats whose frame size exceeds a RGB24 with 7723x7723 resolution. For example, a 7723x7724 RGB24 frame: 1. bpl (byte per line) = 7723 * 3. 2. Overflow occurs when bpl * 7724 * depth. Fixes: 61890ccaefaf ("media: platform: mtk-mdp3: add MediaTek MDP3 driver") Signed-off-by: Moudy Ho <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions