Subject: Experimental audio driver bug
To: None <amiga-dev@NetBSD.ORG>
From: Ingo Wilken <Ingo.Wilken@arbi.informatik.uni-oldenburg.de>
List: amiga-dev
Date: 04/09/1995 01:25:09
Hello,

I was peeking in the NetBSD audio driver sources (spying for Linux/m68k :-))
and I think I found a bug in audio_open():
At the end of this function, the channels used by the unit are marked as
busy by setting
    channel_busy[ch] = unit;
But 'unit' can be 0, this means that channels used by unit 0 are never
marked as used, and unit 0 can be opened simultaneously be several 
processes, thrashing each others sound data (theoretically, can't test it)..

Regards,
Ingo
-- 
Ingo Wilken, CS Student, Univ.of Oldenburg, FRG | You mean I really did all of
wilken@uniol.uucp (..!uunet!unido!uniol!wilken) | dat stuff? Now dat explains
Ingo.Wilken@arbi.informatik.uni-oldenburg.de    | why my head hurts an' why I
wilken@uniol.zer   IRC:Nobody   OL:ingo@faramir | feel so bad!  -Snarf