commit | bfd4dc6935deb85789d5978d49689890da62be5a | [log] [tgz] |
---|---|---|
author | Robb Glasser <rglasser@google.com> | Tue Feb 14 13:25:46 2017 -0800 |
committer | Chin Kok <ck.koh@hi-p.com> | Tue May 02 17:11:07 2017 +0800 |
tree | 065ea56d86fe1b5623e563d10a09f0e17ba02515 | |
parent | 6135f82962bfbb6f61583d93974c0397b3f842ea [diff] |
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. FPIIM-727 Bug: 33300353 Change-Id: If29c1b396633b6137966a12e38f6fd1841b045bd Signed-off-by: Robb Glasser <rglasser@google.com>