Ruiyu Ni
7320b8ed18
MdeModulePkg/BDS: Fix a buffer overflow bug
...
KeyOption points to a buffer holding the content of Key####.
So its size is smaller than EFI_BOOT_MANAGER_KEY_OPTION.
Old code to assign value to KeyOption->OptionNumber modifies
the memory outside of the KeyOption buffer.
The patch fixes this bug.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Steven Shi <steven.shi@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
2017-05-22 09:43:47 +08:00
..
2015-12-15 04:56:23 +00:00
2015-12-24 02:28:45 +00:00
2015-12-15 04:56:23 +00:00
2016-09-02 10:07:14 +08:00
2016-01-11 00:34:15 +00:00
2015-12-15 04:56:23 +00:00
2016-11-11 12:55:46 +08:00
2017-04-18 15:56:21 +08:00
2016-10-27 11:10:56 +02:00
2017-04-14 10:28:59 +08:00
2017-04-07 09:43:40 +08:00
2016-10-27 09:11:19 +08:00
2016-10-27 09:11:19 +08:00
2017-04-21 13:06:54 +08:00
2017-03-20 10:26:59 +08:00
2016-11-08 22:36:58 +08:00
2017-03-06 14:33:20 +08:00
2017-02-24 16:33:26 +08:00
2016-10-27 09:11:19 +08:00
2016-10-27 09:11:19 +08:00
2015-12-15 04:56:23 +00:00
2015-12-16 03:20:21 +00:00
2017-04-01 14:52:12 +08:00
2017-04-24 10:12:09 +08:00
2015-12-24 02:28:45 +00:00
2017-03-06 14:33:20 +08:00
2016-04-11 16:20:28 +08:00
2017-03-13 11:09:29 +08:00
2015-12-15 04:56:23 +00:00
2015-12-15 04:56:23 +00:00
2016-06-29 12:54:53 +08:00
2015-12-15 04:56:23 +00:00
2016-04-04 13:53:12 +02:00
2017-03-06 14:14:09 +08:00
2016-11-08 22:36:55 +08:00
2017-01-24 15:06:39 +08:00
2015-12-15 04:56:23 +00:00
2016-11-03 10:21:19 +08:00
2017-01-12 21:26:30 +08:00
2015-12-15 04:56:23 +00:00
2016-03-03 18:24:25 +01:00
2016-10-27 09:11:19 +08:00
2015-12-15 04:56:23 +00:00
2015-12-15 04:56:23 +00:00
2015-12-24 02:28:45 +00:00
2016-04-11 16:20:28 +08:00
2015-12-15 04:56:23 +00:00
2015-12-15 04:56:23 +00:00
2015-12-15 04:56:23 +00:00
2017-03-06 14:33:20 +08:00
2017-03-06 14:33:20 +08:00
2015-12-15 04:56:23 +00:00
2015-12-15 04:56:23 +00:00
2016-04-25 13:17:05 +08:00
2017-03-13 09:15:40 +08:00
2015-12-15 04:56:23 +00:00
2017-02-24 16:33:26 +08:00
2015-12-15 04:56:23 +00:00
2015-12-24 02:28:45 +00:00
2016-06-07 10:01:09 +08:00
2017-03-06 14:33:20 +08:00
2016-04-11 16:20:28 +08:00
2015-12-15 04:56:23 +00:00
2017-03-13 16:04:12 +08:00
2015-12-15 04:56:23 +00:00
2017-05-22 09:43:47 +08:00
2017-04-05 11:26:55 +08:00
2015-12-15 04:56:23 +00:00
2017-03-06 14:33:20 +08:00
2015-12-15 04:56:23 +00:00
2017-03-06 14:33:20 +08:00
2016-08-31 15:23:42 +08:00
2015-12-15 04:56:23 +00:00
2016-08-31 15:23:42 +08:00