diff options
| author | Martin Hecht <mhecht73@gmail.com> | 2026-05-08 11:59:03 +0200 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-05-20 14:28:37 +0300 |
| commit | 4f6f28ff24709710c08557c127b3e4c3fb1b4159 (patch) | |
| tree | 89966bf523dfc9c4fbf5b1f1554f959d7dec727a /tools/perf/scripts/python | |
| parent | 11f94f5b1d3001314fb0f7d1739c74482fbba960 (diff) | |
media: i2c: alvium: fix critical pointer access in alvium_ctrl_init
The current implementation of alvium_ctrl_init creates several controls in
function alvium_ctrl_init and uses the returned pointer without check. That
can cause write access over NULL-pointer for several controls. The reworked
code checks the pointers before adding flags.
Fixes: 0a7af872915e ("media: i2c: Add support for alvium camera")
Cc: stable@vger.kernel.org
Signed-off-by: Martin Hecht <mhecht73@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
