summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-02-05 13:49:32 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-02-06 17:31:16 +0800
commit4887443e4f03ec42ba422483f191ffe25a78eb3d (patch)
tree5f5420f186fb1e5ac81c1fd7e866a2b11a499707 /BaseTools/Source/Python/Common
parent56658c22a674062e46f5bfd2d4da71a88bf3c0e5 (diff)
downloadedk2-4887443e4f03ec42ba422483f191ffe25a78eb3d.tar.gz
edk2-4887443e4f03ec42ba422483f191ffe25a78eb3d.tar.bz2
edk2-4887443e4f03ec42ba422483f191ffe25a78eb3d.zip
ShellPkg/map: Fix out-of-bound read when "map fsn"
The below code reads additional one CHAR16 when copying content from Specific to NewSpecific. NewSpecific = AllocateCopyPool( StrSize(Specific) + sizeof(CHAR16), Specific ); The patch fixes this issue. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions