[PATCH] Fix crash in sock_daemon_test (bug 12510)
Amitay Isaacs
amitay at gmail.com
Thu Jan 12 06:50:04 UTC 2017
Hi,
These patches fix the "use after free" memory access causing SEGV in
sock_daemon_test.
As per metze's valuable suggestions I have also fixed the following
- use consistent naming convention
- avoid layer violations by accessing top-level req in destructor
- Instead of freeing sock_daemon_context to terminate the damon, I have now
added callback functions wait_send/recv which can be used to signal the
termination condition.
Please review and push.
Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patches
Type: application/octet-stream
Size: 17728 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170112/96f83ec0/ctdb.obj>
More information about the samba-technical
mailing list