audk/ShellPkg/Application/Shell
Jim_Dailey@Dell.com 7bcd3ff611 ShellPkg: Add FileSize member to shell memory file structure.
The shell uses the memory file structure to manage temporary files in
memory that support piping of output from one command into the the
input of another command.  The BufferSize member is the size of the
internal buffer, not the size of the data that was written to the
file. So, it was possible to read beyond the EOF of these files as
reads used BufferSize. Now FileSize tracks the actual size of these
files (the number of bytes written, not the number of bytes available
in the buffer), and the reads use this member.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jim Dailey <jim_dailey@dell.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2016-03-03 12:45:18 +08:00
..
ConsoleLogger.c ShellPkg: Make BOOLEAN variable not use explicit comparison. 2015-06-23 01:04:26 +00:00
ConsoleLogger.h Fix CRLF format 2014-01-22 08:40:29 +00:00
ConsoleWrappers.c ShellPkg: Fix memory leak in SimpleTextOutput on file. 2015-12-23 05:36:10 +00:00
ConsoleWrappers.h ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
FileHandleInternal.h Fix CRLF format 2014-01-22 08:40:29 +00:00
FileHandleWrappers.c ShellPkg: Add FileSize member to shell memory file structure. 2016-03-03 12:45:18 +08:00
FileHandleWrappers.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
Shell.c ShellPkg: Fix the TAB-auto-completion memory leak. 2015-12-24 08:25:52 +00:00
Shell.h ShellPkg: Support finding help message embedded in resource section. 2016-02-24 15:11:14 +08:00
Shell.inf ShellPkg: Support finding help message embedded in resource section. 2016-02-24 15:11:14 +08:00
Shell.uni ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
ShellEnvVar.c ShellPkg: Fix 'EfiShellExecute' doesn't get command status correctly. 2015-10-26 13:28:01 +00:00
ShellEnvVar.h Refine comments and two code style. 2011-09-02 08:05:34 +00:00
ShellManParser.c ShellPkg: Support finding help message embedded in resource section. 2016-02-24 15:11:14 +08:00
ShellManParser.h udk2010.up2.shell initial release. 2010-09-14 05:18:09 +00:00
ShellParametersProtocol.c ShellPkg: Don't strip BOM when piping UCS2 data to a UEFI app 2016-03-01 13:37:19 -08:00
ShellParametersProtocol.h ShellPkg: Don't strip positional parameters of quotation marks. 2015-11-09 02:29:31 +00:00
ShellProtocol.c ShellPkg: Fix memory leak in function 'EfiShellSetCurDir' and 'EfiShellSetMap'. 2015-12-25 01:52:56 +00:00
ShellProtocol.h ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00