1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/lib/tsocket
Stefan Metzmacher 4423aa59ab tsocket: make sure we delete the fd event before calling close()
We got random double free errors, when getting events from
epoll_wait() and try to dereference the private talloc pointer
attached to it.

Before doing the close() in the tstream_disconnect_send() function
we need to delete the fd event.

commit 38f505530b only fixed it for
tdgram sockets.

metze
2010-10-04 14:05:15 +00:00
..
config.mk tsocket: fix dependecies 2009-05-01 17:38:22 +02:00
doxy.config tsocket: Added doxygen config file. 2010-01-11 11:23:04 +01:00
tsocket_bsd.c tsocket: make sure we delete the fd event before calling close() 2010-10-04 14:05:15 +00:00
tsocket_guide.txt Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen" 2010-08-28 08:28:01 +02:00
tsocket_helpers.c tsocket: Added complete doxygen documentation. 2010-01-11 11:22:59 +01:00
tsocket_internal.h tsocket: Fixed typo in LGPL header. 2009-12-15 23:34:22 +01:00
tsocket.c tsocket: Fix some unreachable code 2010-07-11 18:14:33 +02:00
tsocket.h Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen" 2010-08-28 08:28:01 +02:00
wscript_build s4-waf: inline LIBREPLACE_NETWORK into 'replace' 2010-04-12 09:13:43 +02:00