Re: [edk2] [patch] MdeModulePkg:Make the logic in ConfigRouting.c clear and safe

2016-01-26 Thread Gao, Liming
Reviewed-by: Liming Gao -Original Message- From: Bi, Dandan Sent: Monday, January 25, 2016 8:58 AM To: edk2-devel@lists.01.org Cc: Gao, Liming; Dong, Eric Subject: [patch] MdeModulePkg:Make the logic in ConfigRouting.c clear and safe The BlockData is expected to

[edk2] [patch] MdeModulePkg:Make the logic in ConfigRouting.c clear and safe

2016-01-24 Thread Dandan Bi
The BlockData is expected to be NULL when to call function IsThisOpcodeRequired in each opcode,but now exists case that the Blockdata not be cleaned,then will be used in other opcode.it is not correct,now add the check before use. The comments and logic in function IsThisOpcodeRequired are not