We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c987a39 commit f00de8eCopy full SHA for f00de8e
sound/pci/ctxfi/xfi.c
@@ -98,8 +98,8 @@ ct_card_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
98
if (err < 0)
99
goto error;
100
101
- strcpy(card->driver, "SB-XFi");
102
- strcpy(card->shortname, "Creative X-Fi");
+ strscpy(card->driver, "SB-XFi");
+ strscpy(card->shortname, "Creative X-Fi");
103
snprintf(card->longname, sizeof(card->longname), "%s %s %s",
104
card->shortname, atc->chip_name, atc->model_name);
105
0 commit comments