Subject: Re: Bugs in audio.c
To: None <tech-kern@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: tech-kern
Date: 02/02/2006 22:29:02
cliff@snipe444.org (Cliff Wright) writes:

>read, or setting pause to 0). The file audio.c has some clear bugs.
>For example the ioctl AUDIO_FLUSH starts with:
>rbus = sc->sc_rbus;
>then later with no changes to either variable:

You are mistaken. sc_rbus is cleared by audio_clear() and might be
changed by concurrent code.

-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."