[RTEMS Project] #4332: rtl-obj.c: Derefernce null return value error spotted by Coverity
RTEMS trac
trac at rtems.org
Wed Mar 10 19:45:42 UTC 2021
#4332: rtl-obj.c: Derefernce null return value error spotted by Coverity
------------------------+--------------------
Reporter: Ryan Long | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 6.1
Component: lib/dl | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------+--------------------
CID 1444138: Derference null return value in rtems_rtl_obj_find_file().
{{{
4. returned_null: rtems_rtl_lock returns NULL (checked 23 out of 28
times). [hide details]
5. var_assigned: Assigning: rtl = NULL return value from
rtems_rtl_lock.
410 rtl = rtems_rtl_lock ();
411
CID 1444138 (#1 of 1): Dereference null return value (NULL_RETURNS)6.
dereference: Dereferencing rtl, which is known to be NULL.
412 if (!rtems_rtl_find_file (pname, rtl->paths, &obj->fname,
&obj->fsize))
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4332>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list