CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2022/05/15 13:56:46

Modified files:
        sys/kern       : Tag: OPENBSD_7_1 kern_event.c 

Log message:
kqueue: Fix race condition in knote_remove()

Always fetch the knlist array pointer at the start of every iteration
in knote_remove(). This prevents the use of a stale pointer after
another thread has simultaneously reallocated the kq_knlist array.

from visa@; reported and tested by and OK jsing@

this is errata/7.1/003_kqueue.patch.sig

Reply via email to