/[base]
ViewVC logotype

Revision 294963


Jump to revision: Previous Next
Author: jilles
Date: Wed Jan 27 22:56:04 2016 UTC (8 years, 5 months ago)
Changed paths: 3
Log Message:
MFC r294565: 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


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/lib/libc/gen/sem_new.c modified , text changed
Directorystable/10/tools/regression/posixsem2/semtest.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27