diff options
| author | 2026-05-08 11:59:03 +0200 | |
|---|---|---|
| committer | 2026-05-20 14:28:37 +0300 | |
| commit | 4f6f28ff24709710c08557c127b3e4c3fb1b4159 (patch) | |
| tree | 89966bf523dfc9c4fbf5b1f1554f959d7dec727a /tools/lib/python/kdoc/python_version.py | |
| parent | media: atomisp: use kmalloc_objs for array allocations (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/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
