From pam_sm_authenticate(), you call libthinkfinger_new(), which allocates
https://bugzilla.novell.com/show_bug.cgi?id=359216 User garloff@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=359216#c6 --- Comment #6 from Kurt Garloff <garloff@novell.com> 2008-02-07 06:51:26 MST --- Ouch, does not look like code from someone who's used to thread programming :-O the data structure. Then you start to threads, pam_prompt_thread and thinkfinger_thread.
From within the pam_prompt_thread you call libthinkfinger_free(). Bad idea. There's no guarantee that the thinkfinger_thread has ended at that point in time. (You have not called _join yet.) And you should do the free where you have done the allocation, that's a general sanity rule ... If there is a need to somehow notify the other thread (via _usb_deinit()), you may want to call that frpm the pam_prompt_thread.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.