Shenglei Zhang
df50c2fcd8
MdeModulePkg/HiiDatabaseDxe: ASSERT "Private->Attribute >> 4"
...
Foreground and background color are saved in a single byte.
Bits 0..3 are the foreground color and bits 4..6 are the background color.
If the Private->Attribute defined correctly, (Private->Attribute >> 4)
must be less than 8.
This commit uses ASSERT to assume "Attribute >> 4" is less than 8.
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
2019-11-04 08:56:06 +08:00
..
2019-10-09 09:40:10 +02:00
2019-10-30 13:34:07 +08:00
2019-04-09 10:58:08 -07:00
2019-06-26 15:10:42 +08:00
2019-08-13 17:16:14 +08:00
2019-06-26 15:10:41 +08:00
2019-10-09 09:40:09 +02:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-05-09 20:52:41 +08:00
2019-04-09 10:58:08 -07:00
2019-10-04 11:18:32 +01:00
2019-10-09 09:40:09 +02:00
2019-08-13 17:16:14 +08:00
2019-04-09 10:58:08 -07:00
2019-08-07 13:18:32 +08:00
2019-10-09 09:40:09 +02:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-11-04 08:56:06 +08:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-10-09 09:40:09 +02:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-09-25 10:03:57 +08:00
2019-04-09 10:58:08 -07:00
2019-11-04 08:54:24 +08:00
2019-04-09 10:58:08 -07:00
2019-04-28 09:40:15 +08:00
2019-04-28 09:40:15 +08:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-04-09 10:58:08 -07:00
2019-09-17 15:10:25 +08:00
2019-08-02 14:19:13 +08:00
2019-04-09 10:58:08 -07:00
2019-07-01 19:36:15 +08:00
2019-04-09 10:58:08 -07:00
2019-04-28 10:54:28 +08:00
2019-04-09 10:58:08 -07:00
2019-11-04 08:54:24 +08:00
2019-04-09 10:58:08 -07:00