summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Application
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-09-27 16:34:36 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-10-17 11:03:56 +0800
commit4c034bf62cbc1f3c5f4b5df25de97f0f528132b2 (patch)
treeff253b3bfc33a6c4b340c38f3380853694e19a28 /MdeModulePkg/Application
parent4f8b2f9d727d0035a2ca8d7371629418684bf80f (diff)
downloadedk2-4c034bf62cbc1f3c5f4b5df25de97f0f528132b2.zip
edk2-4c034bf62cbc1f3c5f4b5df25de97f0f528132b2.tar.gz
edk2-4c034bf62cbc1f3c5f4b5df25de97f0f528132b2.tar.bz2
MdeModulePkg/UsbBus: Fix out-of-bound read access to descriptors
Today's implementation reads the Type/Length field in the USB descriptors data without checking whether the offset to read is beyond the data boundary. The patch fixes this issue. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Application')
0 files changed, 0 insertions, 0 deletions