1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00
Werner Koch ce98524554 Do not use pth functions after pth_kill. Fixes bug#1320.
Fabian Keil found the reason for a SIGBUS:

  In the "gpg-agent --daemon" case, main() calls pth_kill()
  after the client has been forked, so when es_deinit() is
  called on exit, acquiring the estream_list_lock seems to
  cause pth to dereference a pointer located in a memory
  region that has previously been free()'d.

My approach to fix it is different than his suggestion.  It should
allow to continue all estream operations after a pth_kill except for
restarting pth.
2011-04-29 10:16:58 +02:00
..
2009-05-15 11:16:28 +00:00
2009-12-21 16:19:09 +00:00
2009-06-09 19:11:28 +00:00
2009-12-21 16:19:09 +00:00
2007-07-04 19:49:40 +00:00
2009-05-15 11:16:28 +00:00
2009-05-15 11:16:28 +00:00
2010-05-12 11:03:28 +00:00
2007-07-04 19:49:40 +00:00
2009-12-02 19:02:33 +00:00
2007-07-04 19:49:40 +00:00