[alsa-devel] [PATCH - alsa-lib 1/1] Fix for snd_seq_parse_address()

Jaroslav Kysela perex at perex.cz
Thu Apr 22 16:10:26 CEST 2010


On Thu, 22 Apr 2010, pedro.lopez.cabanillas at gmail.com wrote:

> From: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas at gmail.com>
>
> snd_seq_parse_address() uses strncmp() to compare the client name in the 
> string argument with the existing clients, until it finds one name 
> matching the same leading characters. This may produce wrong results 
> when there are two sequencer clients with similar names. For instance, 
> the following procedure produces a wrong result:

Applied to the alsa-lib repo. Thanks.

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list