dmeventd: Fix segfault in _timeout_thread
PATCH 1/1 dmeventd: Fix segfault in _timeout_thread
In case thread was found, or thread registration failed after _register_for_timeout, thread_status was kept in timeout_list after deallocation.
This should address BZ 1210514 and BZ 1220856.
-- Martian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dmeventd-Fix-segfault-in-_timeout_thread.patch
Type: text/x-patch
Size: 3583 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20150921/d0437096/attachment.bin>
Marian Csontos
NAKPATCH 1/1 dmeventd: Fix segfault in _timeout_thread
Quoted 6 lines · Marian Csontos
In case thread was found, or thread registration failed after
_register_for_timeout,thread_statuswas kept intimeout_listafter deallocation.This should address BZ 1210514 and BZ 1220856.
Quoted 8 lines
-- Martian
--
lvm-devel mailing list
lvm-devel at redhat.com
https://www.redhat.com/mailman/listinfo/lvm-devel
NACK.
Kabi asked me to break this down into:
- actual fix
- refactoring
Also there is a copy'n'paste mistake there (thread_new used instead of thread in the added register_timeout.)
/me needs to learn git send-mail.