| commit | aaba2a44c24e8c688343bda15e915be9ae24056c | [log] [tgz] |
|---|---|---|
| author | Liming Gao <liming.gao@intel.com> | Fri Oct 14 14:49:54 2016 +0800 |
| committer | Liming Gao <liming.gao@intel.com> | Tue Oct 18 10:01:27 2016 +0800 |
| tree | 87182cce2b992d2f15b8cbcbb6284ce64c95a247 | |
| parent | 9ba2869c7ec7567eabc15fe4c2b13d8c774ce282 [diff] |
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>