ALSA: firewire-tascam: off by one in identify_model()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Oct 2015 11:29:27 +0000 (14:29 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Oct 2015 12:00:49 +0000 (14:00 +0200)
commit9a30ae2df29c27eca58581862928ee2c7bbdfa76
tree254afb63accbe18c8b6a91d333dcf051ac356725
parent9fa5cf8c54940688ceb3a52eed7938b6b6585fc8
ALSA: firewire-tascam: off by one in identify_model()

Let's leave space for the NUL char otherwise the static checkers
complain that we go beyond the end of the array.

Fixes: 53b3ffee7885 ('ALSA: firewire-tascam: change device probing processing')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/tascam/tascam.c