Skip to content
Commit a0f36d59 authored by Brett Witherspoon's avatar Brett Witherspoon Committed by Anas Nashif
Browse files

drivers: video: video_stm32_dcmi: Prevent out of bounds memory access



The frame event callback unconditionally copies into the enqueued video
buffer. The driver only supports fixed length frames, so reject enqueued
buffers that are not large enough to prevent invalid memory access.

Signed-off-by: default avatarBrett Witherspoon <brett@witherspoon.engineering>
parent 1cd6b5f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment