[ALSA] sound/core/: fix 3 off-by-one errors
authorAdrian Bunk <bunk@stusta.de>
Mon, 13 Mar 2006 13:14:10 +0000 (14:14 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:37:31 +0000 (10:37 +0100)
commit3a63e44420932852efd6a7d6d46cdad4d427f880
treeccabe72933a23a2d8553d399128d7a35d4a21570
parent646494007b48e8897888cd407c2b7d1d69cb2e58
[ALSA] sound/core/: fix 3 off-by-one errors

Modules: ALSA Core

This patch fixes three off-by-one errors found by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/sound.c
sound/core/sound_oss.c