mirror of https://gitee.com/openkylin/linux.git
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cpia2.h | ||
cpia2_core.c | ||
cpia2_registers.h | ||
cpia2_usb.c | ||
cpia2_v4l.c |