diff options
| author | 2011-02-24 10:05:01 +0100 | |
|---|---|---|
| committer | 2011-02-24 10:05:01 +0100 | |
| commit | 1aa924e21eec9dbb2c5fae90a71451a700db4414 (patch) | |
| tree | 27cc77862c7f7078c7339e2f9b4e52da12ad04c8 /sound/usb/caiaq/midi.c | |
| parent | ALSA: hda - 4930g add internal lfe slider (diff) | |
| parent | ALSA: HDA: Add ideapad quirk for two Dell machines (diff) | |
| download | wireguard-linux-1aa924e21eec9dbb2c5fae90a71451a700db4414.tar.xz wireguard-linux-1aa924e21eec9dbb2c5fae90a71451a700db4414.zip | |
Merge branch 'fix/hda' into topic/hda
Diffstat (limited to 'sound/usb/caiaq/midi.c')
| -rw-r--r-- | sound/usb/caiaq/midi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/caiaq/midi.c b/sound/usb/caiaq/midi.c index 2f218c77fff2..a1a47088fd0c 100644 --- a/sound/usb/caiaq/midi.c +++ b/sound/usb/caiaq/midi.c @@ -136,7 +136,7 @@ int snd_usb_caiaq_midi_init(struct snd_usb_caiaqdev *device) if (ret < 0) return ret; - strcpy(rmidi->name, device->product_name); + strlcpy(rmidi->name, device->product_name, sizeof(rmidi->name)); rmidi->info_flags = SNDRV_RAWMIDI_INFO_DUPLEX; rmidi->private_data = device; |
