diff options
author | Chris Phillips <chrisp@hp.com> | 2013-10-18 20:53:06 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-10-18 20:53:06 +0000 |
commit | a4883d4cb655c887ef527ff51ae363d3ecda633b (patch) | |
tree | 7e806cb7682f5265f4d707dadd23650457fea5ab /ShellPkg/Library/UefiShellDriver1CommandsLib/OpenInfo.c | |
parent | c32ad351618b43f9307823d9acb748bc42c58333 (diff) | |
download | edk2-platforms-a4883d4cb655c887ef527ff51ae363d3ecda633b.tar.xz |
ShellPkg: Fixes for the ‘type’ command:
- Better handling to skip byte order mark in Unicode files.
- Only display valid ASCII characters.
- Change to use ShellPrintEx() instead of Print().
- Print each character instead of %s to avoid possible overrun when not NULL terminated.
- Check for ExecutionBreak.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <chrisp@hp.com>
reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14788 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellDriver1CommandsLib/OpenInfo.c')
0 files changed, 0 insertions, 0 deletions