Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#2191 closed defect (fixed)

RTL allocator does not check NULL pointer (Coverity 1255328)

Reported by: Chris Johns Owned by: Chris Johns
Priority: highest Milestone: 4.11
Component: lib/dl Version: 4.11
Severity: blocker Keywords: RTL
Cc: Blocked By:
Blocking:

Description (last modified by Chris Johns)

Coverity (defect 1255328) has detected a possible NULL pointer access in the RTL allocator.

Change History (7)

comment:1 Changed on 11/19/14 at 21:39:54 by Chris Johns

Description: modified (diff)

comment:2 Changed on 11/19/14 at 21:52:23 by Chris Johns <chrisj@…>

In [changeset:"90f65007e96b98362aacdc39f6f730956324b94c/rtems"]:

libdl: Fix allocator NULL check (Coverity 1255328) refs #2191

The address returned from the allocator call was not checked when zeroing
the memory.

comment:3 Changed on 11/19/14 at 21:52:53 by Chris Johns <chrisj@…>

In [changeset:"80590a8ecffbe3d61a28ccb64d2dc04a0612e52b/rtems"]:

libdl: Add a comment to the previous fix.

The fix is ref #2191.

comment:4 Changed on 11/19/14 at 21:53:02 by Chris Johns <chrisj@…>

In [changeset:"4f1bbbfcdf991470e46456324c5be57cedf7390c/rtems"]:

libdl: Add a comment.

See ref #2191.

comment:5 Changed on 11/19/14 at 23:34:06 by Chris Johns <chrisj@…>

In [changeset:"2ae58c695fc965f5f2f203907d38ed0aa183f1de/rtems"]:

libdl: Update the comments.

See refs #2191.

comment:6 Changed on 11/20/14 at 07:20:43 by Chris Johns

Resolution: fixed
Status: newclosed

Fixed on HEAD.

comment:7 Changed on 11/24/14 at 18:58:28 by Gedare Bloom

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.