Skip to content
Commit 33ec0276 authored by Ibrahim Abdalkader's avatar Ibrahim Abdalkader Committed by Benjamin Cabé
Browse files

drivers: video: video_stm32_dcmi: Sanity-check frame size.



Add a check to ensure the frame size does not exceed the video buffer
size defined by `CONFIG_VIDEO_BUFFER_POOL_SZ_MAX`. Even if the sensor
supports the resolution, the frame size could overflow the buffer.

Signed-off-by: default avatarIbrahim Abdalkader <i.abdalkader@gmail.com>
parent a4ce71dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment