sound: mpu401.c: Buffer overflow
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 29 Jul 2009 10:12:09 +0000 (12:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Jul 2009 12:41:24 +0000 (14:41 +0200)
commita987004fbcf163b100d227284999602f83044d7e
tree39fb690c44b5c830d6a121876964157dc9f5d751
parentc45ec06c74512265969aef40b00f320c6afb7a90
sound: mpu401.c: Buffer overflow

mpu_synth_info[m].name is a char[30], and the minimum length of the data
written by sprintf is 31 bytes including terminating null.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/mpu401.c