Android Wear 7.1.1 Release 0.29
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAllMCEMACgkQ6K0/gZqxDnhLDwCfSWIhBaN2nZODwCoui1i6Pudq
tf0AniusJVb8NsW6ZCevYqReD0qu2miT
=gPDI
-----END PGP SIGNATURE-----
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
Tracked-On: https://jira01.devtools.intel.com/browse/AW-5094
Signed-off-by: Robb Glasser <rglasser@google.com>
Reviewed-on: https://android.intel.com/577969
Reviewed-by: Louis, FabienX <fabienx.louis@intel.com>
Tested-by: Louis, FabienX <fabienx.louis@intel.com>
Reviewed-by: Dubray, SimonX <simonx.dubray@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
1 file changed