mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-13 20:16:26 +00:00
d5ac225c7d
The cam->buffers[] array has cam->num_frames elements so the > needs to
be changed to >= to avoid going beyond the end of the array. The
->buffers[] array is allocated in cpia2_allocate_buffers() if you want
to confirm.
Fixes:
|
||
---|---|---|
.. | ||
cpia2.h | ||
cpia2_core.c | ||
cpia2_registers.h | ||
cpia2_usb.c | ||
cpia2_v4l.c | ||
Kconfig | ||
Makefile |