[Bug 48154] [Patch] Prevent crash on duplicate module loading

Andreas Metzler ametzler at downhill.at.eu.org
Sun May 6 10:24:15 PDT 2012


On 2012-04-15 Andreas Metzler <ametzler at downhill.at.eu.org> wrote:
[...]
> I guess the latter ones are typical examples of growing popularity for
> the files-in-a-directory configuration and p11-kit should also require
> a specific filename pattern. How about '*-module$'? It would keep the
> gnome-keyring working.
[...]

Find attached a proof-of-concept patch, basically unchanged from
Ubuntu. As I am no programmer I still might have managed to break it,
please doublecheck carefully!

This currently breaks parts of the testsuite, which is using "one" instead
of "one-module" as module configuration filename.

cu andreas



More information about the p11-glue mailing list