]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: fix whitespace character trimming
authorJaben Carsey <jaben.carsey@intel.com>
Thu, 19 Dec 2013 22:03:37 +0000 (22:03 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 19 Dec 2013 22:03:37 +0000 (22:03 +0000)
commit404b3f439492fac48207f5a8cb7ecc89f4287100
tree75cfdfd417c0f9f91480ba3c1690185f4761e819
parente3eb7d825adae351f1a45e7809c8506b364ee059
ShellPkg: fix whitespace character trimming

This makes TrimSpaces() trim tab characters off the end of the string also (not just the beginning).  Also updates loop to prevent buffer underrun.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15009 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/Shell.c