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 a0ef81d commit 8d91757Copy full SHA for 8d91757
src/audio/playback/jack.c
@@ -191,7 +191,7 @@ static void * audio_play_jack_init(const char *cfg)
191
goto error;
192
}
193
} else if (strstr(item, "name=") == item) {
194
- strcpy(client_name, item + strlen("name="));
+ snprintf_ch(client_name, "%s", strchr(item, '=') + 1);
195
} else { // the rest is the device name
196
source_name = cfg + (item - dup);
197
break;
0 commit comments