#4016 new defect

shm_unlink uses uninitialized obj_err on successful return from _POSIX_Shm_Get_by_name

Reported by: Kinsey Moore Owned by:
Priority: normal Milestone: 5.1
Component: posix Version: 5
Severity: normal Keywords:
Cc: Blocked By:


In the nominal case checked by spsysinit01, obj_err in shm_unlink is unmodified when _POSIX_Shm_Get_by_name returns non-NULL. In the case of shm_unlink, this means an uninitialized value is passed into the switch and it appears this test was passing by virtue of the stack having the right value on it in most cases.

Change History (1)

comment:1 Changed on Jun 30, 2020 at 7:55:19 AM by Chris Johns

Component: adminposix
Note: See TracTickets for help on using tickets.