]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/BaseLib: Refine (Ascii)StrnLenS functions logic
authorHao Wu <hao.a.wu@intel.com>
Tue, 15 Nov 2016 01:59:37 +0000 (09:59 +0800)
committerHao Wu <hao.a.wu@intel.com>
Thu, 22 Dec 2016 08:17:05 +0000 (16:17 +0800)
commitc07c517cc51a4f947022aa5eebe2aace326137e5
treec09b964bd31c4ac4a8d19a65a2a1edc012e74586
parentd0c80b8a2de8ac90f51b86cce24e6c9c267ae5b4
MdePkg/BaseLib: Refine (Ascii)StrnLenS functions logic

This commit refines the logic for AsciiStrnLenS and StrnLenS. It makes the
logic more straightforward to prevent possible mis-reports by static code
checkers.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Library/BaseLib/SafeString.c