audk/MdeModulePkg/Application
Ruiyu Ni 51a1db9b24 MdeModulePkg/BootManagerMenu: Add assertion to indicate no DIV by 0
BootMenuSelectItem() contains code to DIV BootMenuData->ItemCount.
When BootMenuData->ItemCount can be 0, the DIV operation may
trigger CPU exception.
But in logic, this case won't happen. So add assertion to indicate
it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
2017-04-14 18:28:50 +08:00
..
BootManagerMenuApp MdeModulePkg/BootManagerMenu: Add assertion to indicate no DIV by 0 2017-04-14 18:28:50 +08:00
CapsuleApp MdeModulePkg CapsuleApp: Add directory support 2017-04-14 13:47:39 +08:00
HelloWorld MdeModulePkg: Remove unsupported PcdExpression usage in module INF 2017-04-06 12:54:49 +08:00
MemoryProfileInfo MdeModulePkg/MemoryProfileInfo: rebase to ARRAY_SIZE() 2016-10-27 11:10:55 +02:00
SmiHandlerProfileInfo MdeModulePkg: Fix coding style issues 2017-02-28 16:45:18 +08:00
UiApp MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
VariableInfo MdeModulePkg VariableInfo: Fix GCC build failure 2016-06-30 17:05:40 +08:00