Skip to content
Snippets Groups Projects
Commit 153ab36e authored by Robb Glasser's avatar Robb Glasser Committed by Richard Chang
Browse files

Prevent heap overflow in uvc driver


The size of uvc_control_mapping is user controlled leading to a
potential heap overflow in the uvc driver. This adds a check to verify
the user provided size fits within the bounds of the defined buffer
size.

Bug: 33300353
Change-Id: If29c1b396633b6137966a12e38f6fd1841b045bd
Signed-off-by: default avatarRobb Glasser <rglasser@google.com>
parent 565101c2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment