gnutls: Fix threading/reference issues in GTlsFileDatabase
authorStef Walter <stefw@gnome.org>
Wed, 1 Aug 2012 12:08:40 +0000 (14:08 +0200)
committerStef Walter <stefw@gnome.org>
Mon, 6 Aug 2012 20:38:57 +0000 (22:38 +0200)
commitb657c2bfafe67137e6148b1a459809691e8d939b
treefd615566373eb4e8df45eadb74fb6954a33ff48b
parentc63f079c048de255502d1e093c02b57aa078bfe1
gnutls: Fix threading/reference issues in GTlsFileDatabase

 * We weren't refing stuff during the lock, and returned data
   could have been freed by another thread while in use.

https://bugzilla.gnome.org/show_bug.cgi?id=681122
tls/gnutls/gtlsfiledatabase-gnutls.c