Wang, Jian J
701e8cc29a
MdePkg/BasePrintLib: Fix incomplete print output
...
This is caused by previous patch which tried to fix string over-read,
which breaks UEFI menu rendering: the following
/------------------------------------------------------------------------------\
| Device Manager |
\------------------------------------------------------------------------------/
is rendered as
/\
| Device Manager |
\/.0 2.00 GHz
(the spurious digits are SMBIOS data from the home screen)
The problem appears to be that the CHAR16 value of BOXDRAW_HORIZONTAL
equals 0x2500, which means that testing ArgumentString[] != '\0'
(which tests the low byte only) will yield FALSE and terminate the
loop prematurely.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-01-02 16:31:19 +08:00
..
2015-12-15 04:53:50 +00:00
2016-06-28 09:51:45 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2016-10-07 18:05:37 -07:00
2017-09-11 22:28:05 +02:00
2017-12-08 14:38:48 +08:00
2016-12-22 16:17:16 +08:00
2016-11-04 09:53:01 +00:00
2016-11-04 09:53:01 +00:00
2016-11-04 09:53:01 +00:00
2016-11-04 09:53:01 +00:00
2016-11-04 09:53:01 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2016-05-23 10:48:53 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2017-08-28 16:47:04 +08:00
2017-08-28 16:47:03 +08:00
2015-12-15 04:53:50 +00:00
2017-04-26 08:58:18 +08:00
2017-03-06 14:18:45 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2018-01-02 16:31:19 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2017-01-03 12:22:47 +01:00
2015-12-15 04:53:50 +00:00
2017-03-06 14:18:45 +08:00
2017-10-10 18:10:17 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2016-11-17 17:08:26 -08:00
2015-12-15 04:53:50 +00:00
2017-08-11 08:47:00 +08:00
2015-12-15 04:53:50 +00:00
2017-10-10 20:54:32 +08:00
2015-12-15 04:53:50 +00:00
2017-11-14 18:18:48 +08:00
2017-10-10 20:54:32 +08:00
2017-07-18 10:35:36 +08:00
2017-01-20 15:40:59 +08:00
2017-01-17 10:11:20 +08:00
2015-12-15 04:53:50 +00:00
2016-05-23 10:48:53 +08:00
2016-10-21 16:40:51 +08:00
2016-10-21 16:40:51 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2017-05-08 08:57:03 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2017-09-06 10:43:53 +08:00
2015-12-15 04:53:50 +00:00
2016-07-29 09:18:12 +08:00
2016-10-21 16:40:51 +08:00
2017-10-10 20:54:32 +08:00
2017-01-17 10:11:14 +08:00
2017-09-04 13:45:47 +08:00
2016-12-22 16:17:16 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2016-05-23 10:48:53 +08:00
2016-10-21 16:40:51 +08:00
2017-08-28 16:47:03 +08:00
2015-12-15 04:53:50 +00:00
2017-09-04 13:45:46 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2017-03-13 16:04:11 +08:00
2017-06-06 09:07:10 +08:00
2017-01-20 15:40:59 +08:00
2015-12-15 04:53:50 +00:00
2017-06-06 09:07:09 +08:00
2017-03-06 14:18:45 +08:00
2016-09-27 11:01:23 +08:00
2016-10-21 16:40:51 +08:00
2016-10-21 16:40:51 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2017-08-14 13:18:23 +08:00
2016-11-09 17:49:15 +08:00
2015-12-15 04:53:50 +00:00
2017-01-12 21:26:26 +08:00
2017-04-14 13:16:05 +08:00
2017-03-06 14:18:45 +08:00
2016-12-22 16:17:16 +08:00
2015-12-15 04:53:50 +00:00
2016-10-21 16:40:51 +08:00
2017-08-28 16:47:03 +08:00
2017-11-01 22:25:18 +08:00
2015-12-15 04:53:50 +00:00
2015-12-15 04:53:50 +00:00
2015-12-22 13:58:09 +00:00
2016-10-07 18:05:37 -07:00