diff options
| author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2021-01-13 12:00:27 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-14 15:58:57 +0300 |
| commit | 5a402af5e19f215689e8bf3cc244c21d94eba3c4 (patch) | |
| tree | a0ebfeb3d9f98f692f58eeb4baa98ee10748b019 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3b3bf0e38959581351fdd75509d449ab923809f2 (diff) | |
| download | linux-5a402af5e19f215689e8bf3cc244c21d94eba3c4.tar.xz | |
media: ti-vpe: cal: fix write to unallocated memory
The asd allocated with v4l2_async_notifier_add_fwnode_subdev() must be
of size cal_v4l2_async_subdev, otherwise access to
cal_v4l2_async_subdev->phy will go to unallocated memory.
Fixes: 8fcb7576ad19 ("media: ti-vpe: cal: Allow multiple contexts per subdev notifier")
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
