In p11-kit 0.23.6 (Linux), calling `p11-kit server …` will bind the socket on a garbage path. This seems to be caused by a stray free(socket_name) immediately after giving it to socket_new().
Oops, that's embarrassing. Thank you for spotting it. I have pushed a fix for this: https://github.com/p11-glue/p11-kit/pull/78
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.