diff options
| author | Dandan Bi <dandan.bi@intel.com> | 2018-11-19 04:33:14 +0300 |
|---|---|---|
| committer | Liming Gao <liming.gao@intel.com> | 2018-11-21 08:01:02 +0300 |
| commit | d8e702693a8c292220131dc4234a36e2c9fff614 (patch) | |
| tree | 5fb271bc1ad1c93d641761ad0d1f49f091720880 /BaseTools/Source/Python/Workspace/DecBuildData.py | |
| parent | 63f151aadb0a96467cd73f8c648c223f13fe37ba (diff) | |
| download | edk2-d8e702693a8c292220131dc4234a36e2c9fff614.tar.xz | |
MdePkg: check Length para before use in DevPathToTextUsbWWID
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1336
In function DevPathToTextUsbWWID, the Length parameter is used
without check. This patch is to add check before using it.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DecBuildData.py')
0 files changed, 0 insertions, 0 deletions
