ALSA: pcm - Safer boundary checks
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Mar 2009 15:26:15 +0000 (16:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Mar 2009 15:26:15 +0000 (16:26 +0100)
commit8b22d943c34b616eefbd6d2f8f197a53b1f29fd0
tree48f8b24ff0d9f41cfa13c764f42a0a05f493ce82
parentded652f7024bc2d7b6118b561a44187af30841b0
ALSA: pcm - Safer boundary checks

Make the boundary checks a bit safer.
These caese are rare or theoretically won't happen, but nothing
bad to keep the checks safer...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c