Anchor mount path in wxallowed fallback logic to avoid substring match
Otherwise /portsroot/usr/local gets the option set although it should
only be set on the filesystem containing /usr/local.
from Crystal Kolipe
OK halex
Add MIT-SHM 1.2 (XShm fd passing) support to xine-lib's xshm, xv, xcbshm
and xcbxv video outputs.
Also make xcbxv check that MIT-SHM is present before using it.
From Brad (maintainer).
icecast: cherrypick upstream commit, fixing crash when mpd feeds opus or
vorbis metadata changes at track boundaries. from Ryan Freeman, I tweaked
the patch comment a little
Stop initalizing the return pointer in the various proc_parser_mft functions.
Instead add the missing crlfile initalization at the top of proc_parser_mft.
There is a maze of pointers that are passed around here and those extra
assignments don't make the code easier to read.
OK tb@
Implement a different fix for the use-after-free in filt_procattach
from rev 1.207.
Instead of shuffling locks around take a process reference in this
code to prevent the process from exiting under us while sleeping
for the kqueue_ps_list_lock rwlock. This is the same solution that
was used for a similar issue in fork1.
Reported by Acts1631 and OpenAI
Patch provided by OpenAI
from claudio@; OK mvs@
this is errata/8.0/022_kqueue.patch.sig
Implement a different fix for the use-after-free in filt_procattach
from rev 1.207.
Instead of shuffling locks around take a process reference in this
code to prevent the process from exiting under us while sleeping
for the kqueue_ps_list_lock rwlock. This is the same solution that
was used for a similar issue in fork1.
Reported by Acts1631 and OpenAI
Patch provided by OpenAI
from claudio@; OK mvs@
this is errata/7.9/057_kqueue.patch.sig
Do not allow TIOCSCTTY, TIOCNOTTY, or TIOCSPGRP on the pty master. Return
ENOTTY for all 3 of these. They could create incoherent session states,
leading to dangerous UAF reported by openai (unfortunately their proposed
patch was batshit crazy and made the situation worse, due to not identifying
this as root cause, and writing code to support the condition).
from deraadt@ with claudio@ various versions; OK kettenis@ kirill@ and others
this is errata/8.0/021_pty.patch.sig
Do not allow TIOCSCTTY, TIOCNOTTY, or TIOCSPGRP on the pty master. Return
ENOTTY for all 3 of these. They could create incoherent session states,
leading to dangerous UAF reported by openai (unfortunately their proposed
patch was batshit crazy and made the situation worse, due to not identifying
this as root cause, and writing code to support the condition).
from deraadt@ with claudio@ various versions; OK kettenis@ kirill@ and others
this is errata/7.9/056_pty.patch.sig