summaryrefslogtreecommitdiff
path: root/SecurityPkg
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2016-11-15 13:26:47 +0800
committerHao Wu <hao.a.wu@intel.com>2016-12-22 16:17:16 +0800
commit9088c61e2d2de8c844f1850e6a96a69f81c0d010 (patch)
tree59ad0136e942c0bd18c1ea935937bc60717ddaf7 /SecurityPkg
parent753a18f965cb9cd9e48d376a6c71823548eeb3a0 (diff)
downloadedk2-platforms-9088c61e2d2de8c844f1850e6a96a69f81c0d010.tar.xz
MdePkg/MemoryLib: Refine InternalMemSetMem16|32|64 functions logic
This commit refines the logic for InternalMemSetMem16|32|64 functions. It avoids using the decrement operator '--' for array index to prevent possible mis-reports by static code checkers. Please note that those modified functions are only consumed within MemoryLib by APIs SetMem16|32|64, and those APIs will handle the case when the input number of bytes to set is 0. Hence, the behavior of APIs SetMem16|32|64 is not changed. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'SecurityPkg')
0 files changed, 0 insertions, 0 deletions