[PATCH] Fix sequencer missing negative bound check
authorEugene Teo <eugene.teo@eugeneteo.net>
Sat, 25 Mar 2006 11:08:25 +0000 (03:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:23:02 +0000 (08:23 -0800)
commit37f1e984253c7eeee8e0f2be9d134d1e9e34b9d4
treed46f9d866d88df62905717a21af3499f0ef30e3a
parent1ad3dcc09c88c6e01d7624398c591ff3aee22fbe
[PATCH] Fix sequencer missing negative bound check

'int dev' came out of an 'unsigned char *' - as such, it will not get
a negative value. Thanks Valdis.

Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net>
Cc: Jaroslav Kysela <perex@suse.cz>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/sequencer.c