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

#3953 closed defect (fixed)

rtems_extensions_create() accepts a NULL pointer table

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: rtems Version: 5
Severity: normal Keywords: qualification
Cc: Blocked By:
Blocking:

Description

It should return RTEMS_INVALID_ADDRESS instead.

Change History (3)

comment:1 Changed on 04/17/20 at 17:51:28 by Sebastian Huber <sebastian.huber@…>

In [changeset:"3d73642d9e341a4c65fb86a15d696686e7f28d6d/rtems" 3d73642/rtems]:

sapi: Add param check to rtems_extension_create()

Check that the extensions table is not NULL. Change format.

Update #3953.

comment:2 Changed on 04/17/20 at 17:51:43 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"a19be8b748da337b86700664fba82f7b2ff9fbcb/rtems-docs" a19be8b/rtems-docs]:

c-user: Document rtems_extension_create()

Close #3953.

comment:3 Changed on 06/23/21 at 07:07:55 by Sebastian Huber

Keywords: qualification added
Note: See TracTickets for help on using tickets.