OSDN Git Service

seq: fix snd_seq_parse_address()
authorJaroslav Kysela <perex@perex.cz>
Wed, 26 May 2021 15:28:53 +0000 (17:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 26 May 2021 15:29:48 +0000 (17:29 +0200)
commitc8f608d67463b814f2c077c3cdae5663f3574f12
tree9aa4a741f89f89854539abed04d5e8f10e42c831
parentaa70b19d4cf613f62e38ba6444e106cfc6524ae5
seq: fix snd_seq_parse_address()

Use safe_strtol() for the integer conversion. Also accept
client name in "" or '' notation.

BugLink: https://github.com/alsa-project/alsa-utils/issues/90
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/seq/seqmid.c