bug#40832: alsa-lib cannot find its plugins

2021-02-01 Thread Leo Famulari
On Tue, Oct 13, 2020 at 12:02:59PM -0400, Leo Famulari wrote: > Upstream has implemented (but not yet released) a potential solution: > > https://github.com/alsa-project/alsa-lib/commit/8580c081c25678d11278efcb61bd15cf44d0a225 > > I haven't tested it yet but my understanding is that it supports >

bug#40832: alsa-lib cannot find its plugins

2020-10-13 Thread Leo Famulari
Upstream has implemented (but not yet released) a potential solution: https://github.com/alsa-project/alsa-lib/commit/8580c081c25678d11278efcb61bd15cf44d0a225 I haven't tested it yet but my understanding is that it supports specifying a single plugin directory via the ALSA_PLUGIN_DIR environment

bug#40832: alsa-lib cannot find its plugins

2020-07-29 Thread Danny Milosavljevic
Hi Leo, On Tue, 28 Jul 2020 19:56:23 -0400 Leo Famulari wrote: > On Tue, Jul 28, 2020 at 12:52:41PM +0200, Danny Milosavljevic wrote: > > some comments on the lastest patch: > > Thank you for reviewing the patch! > > > * The entire alsa-lib seems to use the idiom "malloc and then strcpy", or

bug#40832: alsa-lib cannot find its plugins

2020-07-28 Thread Leo Famulari
On Tue, Jul 28, 2020 at 12:52:41PM +0200, Danny Milosavljevic wrote: > some comments on the lastest patch: Thank you for reviewing the patch! > * The entire alsa-lib seems to use the idiom "malloc and then strcpy", or > "malloc and then sprintf", or, worse, "malloc, strcpy and multiple strcat". >

bug#40832: alsa-lib cannot find its plugins

2020-07-28 Thread Leo Famulari
On Tue, Jul 28, 2020 at 12:56:19PM +0200, Danny Milosavljevic wrote: > * src/control/control.c patch uses ALSA_PLUGIN_DIR and then, if necessary, > GUIX_ALSA_PLUGIN_DIRS. But src/dlmisc.c uses only GUIX_ALSA_PLUGIN_DIRS, > no ALSA_PLUGIN_DIR. src/pcm/pcm.c uses ALSA_PLUGIN_DIR and then, if necessa

bug#40832: alsa-lib cannot find its plugins

2020-07-28 Thread Danny Milosavljevic
* src/control/control.c patch uses ALSA_PLUGIN_DIR and then, if necessary, GUIX_ALSA_PLUGIN_DIRS. But src/dlmisc.c uses only GUIX_ALSA_PLUGIN_DIRS, no ALSA_PLUGIN_DIR. src/pcm/pcm.c uses ALSA_PLUGIN_DIR and then, if necessary, GUIX_ALSA_PLUGIN_DIRS. Is that discrepancy on purpose? pgpd0XcftmcSd

bug#40832: alsa-lib cannot find its plugins

2020-07-28 Thread Danny Milosavljevic
Hi Leo, some comments on the lastest patch: * The entire alsa-lib seems to use the idiom "malloc and then strcpy", or "malloc and then sprintf", or, worse, "malloc, strcpy and multiple strcat". These are a buffer overflow waiting to happen (when changing part of those while doing ongoing maintena

bug#40832: alsa-lib cannot find its plugins

2020-04-26 Thread Leo Famulari
I propose we make alsa-lib respect an environment variable ALSA_PLUGIN_DIRS, and make that a Guix package search path that matches 'lib/alsa-lib'. I think this will do what we need. Any feedback?