linux/sound/pci/rme9652
Dan Carpenter a3b3a9db5d ALSA: hdsp: silence a sprinft() overflow warning
card->shortname is a 32 char string so the sprintf() can theoretically
overflow.  snd_rawmidi_new() can accept strings up to 64 bytes long.

I have made the temporay buf[] array 40 bytes long and changed the
sprintf() to snprintf().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-08-22 11:36:26 +02:00
..
Makefile
hdsp.c ALSA: hdsp: silence a sprinft() overflow warning 2015-08-22 11:36:26 +02:00
hdspm.c ALSA: hdspm - DRY cleanup of snd_pcm_ops 2015-02-17 07:40:36 +01:00
rme9652.c ALSA: Include linux/io.h instead of asm/io.h 2015-01-28 16:49:33 +01:00