ALSA: ctxfi - Fix possible buffer pointer overrun
authorTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2009 13:07:46 +0000 (15:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 8 Jun 2009 13:07:46 +0000 (15:07 +0200)
commitaf8500bbbd18438495d2f91ad07bda49fff3b770
tree437f4fd3e62ce626077a36d1b9045498c7d2be57
parent514eef9c2a711b4c24b97bb456d39695a6fe1775
ALSA: ctxfi - Fix possible buffer pointer overrun

Fix possible buffer pointer overruns.  Back to zero when it's equal
or over the buffer size.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/ctpcm.c