linux/alsa/alsa_rawmidi.c: Fix potential snprintf() truncation
This commit is contained in:
parent
e60d202fd1
commit
e1202d714b
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue