Re: [U-Boot] [PATCH 01/11] efi_selftest: avoid dereferencing NULL in tpl test

2017-10-08 Thread Simon Glass
On 7 October 2017 at 22:57, Heinrich Schuchardt wrote: > The task priority levels test uses two events one passes the > notification counter as context. The other passes NULL. > Both use the same notification function. So we need to check > for NULL here. > > Signed-off-by: Heinrich Schuchardt >

[U-Boot] [PATCH 01/11] efi_selftest: avoid dereferencing NULL in tpl test

2017-10-07 Thread Heinrich Schuchardt
The task priority levels test uses two events one passes the notification counter as context. The other passes NULL. Both use the same notification function. So we need to check for NULL here. Signed-off-by: Heinrich Schuchardt --- lib/efi_selftest/efi_selftest_tpl.c | 3 ++- 1 file changed, 2 i