Re: [PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck

2021-03-30 Thread Chris Johns
ong >> Sent: Monday, March 22, 2021 12:08 PM >> To: devel@rtems.org >> Cc: Ryan Long >> Subject: [PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck >> >> CID 1444139: Dereference null return value in rtems_rtl_alloc_hook(). >> >> Closes #43

Re: [PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck

2021-03-30 Thread Gedare Bloom
ok On Tue, Mar 30, 2021 at 10:57 AM Ryan Long wrote: > > ping > > -Original Message- > From: Ryan Long > Sent: Monday, March 22, 2021 12:08 PM > To: devel@rtems.org > Cc: Ryan Long > Subject: [PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck &

RE: [PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck

2021-03-30 Thread Ryan Long
ping -Original Message- From: Ryan Long Sent: Monday, March 22, 2021 12:08 PM To: devel@rtems.org Cc: Ryan Long Subject: [PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck CID 1444139: Dereference null return value in rtems_rtl_alloc_hook(). Closes #4333 --- cpukit/libdl

[PATCH 2/2] rtl-allocator.c: Put dereferences after nullcheck

2021-03-22 Thread Ryan Long
CID 1444139: Dereference null return value in rtems_rtl_alloc_hook(). Closes #4333 --- cpukit/libdl/rtl-allocator.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpukit/libdl/rtl-allocator.c b/cpukit/libdl/rtl-allocator.c index 647c0c8..861754e 100644 --- a/cpukit/lib