#4016: shm_unlink uses uninitialized obj_err on successful return from
_POSIX_Shm_Get_by_name
---------------------------+--------------------
  Reporter:  Kinsey Moore  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  normal        |  Milestone:  5.1
 Component:  admin         |    Version:  5
  Severity:  normal        |   Keywords:
Blocked By:                |   Blocking:
---------------------------+--------------------
 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.

--
Ticket URL: <http://devel.rtems.org/ticket/4016>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to