Jilles Tjoelker afa04e4170 sem: Don't free nameinfo that is still in list when open() fails.
This bug could be reproduced easily by calling sem_open() with O_CREAT |
O_EXCL on a semaphore that is already open in the process. The struct
sem_nameinfo would be freed while still in sem_list and later calls to
sem_open() or sem_close() could access freed memory.

PR:		206396
MFC after:	5 days
2016-01-22 14:52:31 +00:00
..
2014-08-20 14:58:25 +00:00
2015-09-20 20:16:34 +00:00
2015-11-15 20:44:22 +00:00
2016-01-20 20:58:42 +00:00
2016-01-18 20:21:38 +00:00
2015-09-17 05:06:34 +00:00