CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/12/04 02:21:58

Modified files:
        sys/dev        : audio.c 

Log message:
audio: Fix possible read(2) past the audio ring buffer

If recording has overrun and read(2) is called to retrieve more than
one audio block and at the right moment, then it may read past the
ring buffer. As sndiod(8) reads a single block per read(2) call, the
bug stayed unnoticed until now.

Found, analysed and fixed by Acts1631 <[email protected]>. Thanks!

ok armani

Reply via email to