summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/snmp_mibII/mibII.h
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-01-22 14:52:31 +0000
committerjilles <jilles@FreeBSD.org>2016-01-22 14:52:31 +0000
commit459ec4483368fa4ae7b3c953a5af16a0d1b09096 (patch)
treed88421ab67feaf6d316ac1cf7b5df3c38584a56a /contrib/bsnmp/snmp_mibII/mibII.h
parent84fe0a03f69cd03b74bc95a5e689891dedd53613 (diff)
downloadFreeBSD-src-459ec4483368fa4ae7b3c953a5af16a0d1b09096.zip
FreeBSD-src-459ec4483368fa4ae7b3c953a5af16a0d1b09096.tar.gz
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
Diffstat (limited to 'contrib/bsnmp/snmp_mibII/mibII.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud