Opened on 03/13/23 at 14:29:44
Closed on 03/14/23 at 06:43:33
#4878 closed defect (fixed)
sptests/spsysinit01 sem_open call only has 3 parameters with O_CREAT flag (cloned)
Reported by: | Lucian-Raul Silistru | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | test | Version: | 6 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
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.
Change History (1)
comment:1 Changed on 03/14/23 at 06:43:33 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 377eae4/rtems: