Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/audio



Module Name:    src
Committed By:   riastradh
Date:           Tue Jun  1 21:14:52 UTC 2021

Modified Files:
        src/sys/dev/audio: audio.c

Log Message:
audio(4): Grab sc->sc_cred under sc->sc_lock before freeing.

Otherwise we may race with open, leaking a cred no longer in use and
freeing a cred still in use.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/dev/audio/audio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index