Re: [edk2-devel] [PATCH] MdeModulePkg/Bus: Potential NULL pointer on Token

2020-02-21 Thread Laszlo Ersek
On 02/21/20 07:00, GuoMinJ wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2286 > > Token pointer may be NULL, it is should be check before use it. > > Signed-off-by: GuoMinJ > --- > MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c | 7 ++- > 1 file changed, 6 insertions(+), 1

[edk2-devel] [PATCH] MdeModulePkg/Bus: Potential NULL pointer on Token

2020-02-20 Thread GuoMinJ
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2286 Token pointer may be NULL, it is should be check before use it. Signed-off-by: GuoMinJ --- MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git