reviewed-by: Jaben Carsey <[email protected]>
committed: 14788
From: Phillips, Chris J (BCS CFE) [mailto:[email protected]]
Sent: Friday, October 18, 2013 9:46 AM
To: [email protected]; Carsey, Jaben
Subject: ShellPkg: Fixes for the 'type' command
Importance: High
Please review the attached patch file.
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.
Thanks,
Chris
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 <[email protected]<mailto:[email protected]>>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel