linux/alsa/alsa_rawmidi.c: Fix potential snprintf() truncation

This commit is contained in:
Nedko Arnaudov 2023-08-29 22:35:31 +03:00
parent e60d202fd1
commit e1202d714b
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ int midi_port_open(alsa_rawmidi_t *midi, midi_port_t *port)
{ {
int err; int err;
int type; int type;
char alias[4096]; char alias[5000];
snd_rawmidi_t **in = NULL; snd_rawmidi_t **in = NULL;
snd_rawmidi_t **out = NULL; snd_rawmidi_t **out = NULL;