diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-11-04 15:58:34 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-11-04 16:11:47 -0800 |
commit | 003f01c780020daa9a06dea1db495b553a868c29 (patch) | |
tree | 5db7d1c66ba5023d5b05c7985857bd07fe511023 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b1a402e75a5f5127ff1ffff0615249f98df8b7b3 (diff) | |
download | linux-003f01c780020daa9a06dea1db495b553a868c29.tar.bz2 |
Input: synaptics-rmi4 - fix video buffer size
The video buffer used by the queue is a vb2_v4l2_buffer, not a plain
vb2_buffer. Using the wrong type causes the allocation of the buffer
storage to be too small, causing a out of bounds write when
__init_vb2_v4l2_buffer initializes the buffer.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Fixes: 3a762dbd5347 ("[media] Input: synaptics-rmi4 - add support for F54 diagnostics")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20191104114454.10500-1-l.stach@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions