]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: vx_core: off by one in vx_read_status()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 21 Jun 2013 12:25:33 +0000 (15:25 +0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jun 2013 12:32:06 +0000 (14:32 +0200)
commitf814d8752e607435c4b2fdcfc6c7611c97ae1d14
tree94e9ef2b69f5c3f51ff8479a3ce60e93ce8e1892
parent303955e96ed69b0a08740e375d113038722331d2
ALSA: vx_core: off by one in vx_read_status()

This code is older than git, and I haven't tested it, but if size ==
SIZE_MAX_STATUS then we would write one space past the end of the
rmh->Stat[] array.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/vx/vx_core.c