summaryrefslogtreecommitdiff
path: root/ShellPkg/Application/Shell/ShellProtocol.c
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-10-14 14:49:54 +0800
committerLiming Gao <liming.gao@intel.com>2016-10-18 10:01:27 +0800
commitaaba2a44c24e8c688343bda15e915be9ae24056c (patch)
tree87182cce2b992d2f15b8cbcbb6284ce64c95a247 /ShellPkg/Application/Shell/ShellProtocol.c
parent9ba2869c7ec7567eabc15fe4c2b13d8c774ce282 (diff)
downloadedk2-platforms-aaba2a44c24e8c688343bda15e915be9ae24056c.tar.xz
MdeModulePkg FileExplorerLib: Fix potential Integer Overflow.
In function 'LibAppendFileName' of 'FileExplorer.c': " MaxLen = (Size1 + Size2 + sizeof (CHAR16))/ sizeof (CHAR16); " Overflow may happen here. MaxLen might become a very small number. This patch adds integer overflow checker. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'ShellPkg/Application/Shell/ShellProtocol.c')
0 files changed, 0 insertions, 0 deletions