]> granicus.if.org Git - p11-kit/commit
Fix endless loop if module forks during initialization.
authorStef Walter <stefw@collabora.co.uk>
Sun, 14 Aug 2011 16:46:50 +0000 (18:46 +0200)
committerStef Walter <stefw@collabora.co.uk>
Sun, 14 Aug 2011 16:49:55 +0000 (18:49 +0200)
commitd4abb441450deceff760086dcdf9d493b258074a
treef991ceb0d049433d9c1a06b090040d35aeb5fd4a
parent43169c520292397439bd70fb74e9505d371f7c72
Fix endless loop if module forks during initialization.

 * If a module forks during its C_Initialize, previously our
   fork handler would try to initialize it again, ad nauseum.

Reported by Nikos on the mailing list.
.gitignore
p11-kit/modules.c
tests/Makefile.am
tests/mock-module.c [new file with mode: 0644]
tests/mock-module.h [new file with mode: 0644]
tests/p11-test.c [new file with mode: 0644]