audk/StdLib/LibC
darylm503 ad07c107f7 StdLib/LibC/Uefi/Devices/Console/daConsole.c: Fix bug where unconvertable wide characters would cause the code to hang or generate an exception.
When the WideTtyCvt() function encountered an unconvertable character, it properly replaced it but did not update the byte count, numB, to 1 and instead left it at -1.

This fix sets numB to 1 when an unconvertable character is replaced.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: tim.lewis@insidesw.com
Reviewed-by: daryl.mcdaniel@intel.com
Reviewed-by: erik.c.bjorge@intel.com


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13540 6f19259b-4bc3-4df7-8a09-765794883524
2012-07-18 18:23:25 +00:00
..
CRT Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
Ctype StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
Locale StdLib: Add multi-byte character support. The normal "narrow" character set is now UTF-8 instead of ASCII. 2012-06-15 19:58:39 +00:00
Main EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release. 2012-03-24 01:19:06 +00:00
Math Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
NetUtil Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Signal Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
StdLib StdLib: Revise the meaning of several feature macros. 2011-11-03 00:01:24 +00:00
Stdio StdLib: Add multi-byte character support. The normal "narrow" character set is now UTF-8 instead of ASCII. 2012-06-15 19:58:39 +00:00
String StdLib: Fix strcmp so that comparisons are case sensitive. Simplified code for strcasecmp. 2011-11-01 00:19:51 +00:00
Time StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
Uefi StdLib/LibC/Uefi/Devices/Console/daConsole.c: Fix bug where unconvertable wide characters would cause the code to hang or generate an exception. 2012-07-18 18:23:25 +00:00
Wchar Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
gdtoa EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release. 2012-03-24 01:19:06 +00:00
LibC.inf StdLib: Eliminate TimerLib dependencies. 2011-11-11 00:32:31 +00:00