[RTEMS Project] #4878: sptests/spsysinit01 sem_open call only has 3 parameters with O_CREAT flag (cloned)
RTEMS trac
trac at rtems.org
Mon Mar 13 14:29:44 UTC 2023
#4878: sptests/spsysinit01 sem_open call only has 3 parameters with O_CREAT flag
(cloned)
-----------------------------------+-----------------------------
Reporter: Lucian-Raul Silistru | Owner: Sebastian Huber
Type: defect | Status: assigned
Priority: normal | Milestone: 6.1
Component: test | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
-----------------------------------+-----------------------------
Cloned from #4877:
----
When calling sem_open with the O_CREAT flag the sem_open function requires
4 parameters. It will:
value = va_arg(args, unsigned int);
so the "value" argument will be randomly chosen.
sem_open can fail if the random value is not a valid semaphore value,
failing the test.
--
Ticket URL: <http://devel.rtems.org/ticket/4878>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list