summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DisplayUpdateProgressLibGraphics
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-10-25 13:09:46 +0300
committerRuiyu Ni <ruiyu.ni@intel.com>2018-10-29 06:11:03 +0300
commit70425456dae16fca23540936c8fb0d2b86776b97 (patch)
treea5a9f70df8c4df585e772afc97d2f089d2c19295 /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics
parentc96de1dbaedce11489974c3e977f1de4ec5cfb84 (diff)
downloadedk2-70425456dae16fca23540936c8fb0d2b86776b97.tar.xz
MdeModulePkg/UsbBusPei: Reject descriptor whose length is bad
Today's implementation doesn't check whether the length of descriptor is valid before using it. The patch fixes this issue by syncing the similar fix to UsbBusDxe. 70c3c2370a2aefe71cf0f6c1a1e063f7d74e1d79 *MdeModulePkg/UsbBus: Reject descriptor whose length is bad Additionally the patch also rejects the data when length is larger than sizeof (PeiUsbDevice->ConfigurationData). Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics')
0 files changed, 0 insertions, 0 deletions