gecko/ipc/unixsocket
Thomas Zimmermann dfe0efbdcd Bug 830704: Delete UnixSocketImpl instance after SocketReceiveTasks completed [r=qdot]
The Bluetooth system internally uses UnixSocketImpl when transfering
files. When Bluetooth gets disabled during a file transfer, the IPC code
deletes any related instance of UnixSocketImpl. This can happen before all
pending SocketReceiveTasks have been processed by the main thread. The
implementation of SocketReceiveTask uses a reference to the instance of
UnixSocketImpl that has just deen disabled. This results in a segmantation
fault.

This patch fixes the problem by scheduling the delete operation for
UnixSocketImpl to be executed after any pending SocketReceiveTasks.
2013-01-16 10:21:49 +08:00
..
Makefile.in Bug 776182: Patch 3 - Socket I/O for ipc unix sockets; r=cjones r=echou 2012-09-25 13:13:15 -07:00
UnixSocket.cpp Bug 830704: Delete UnixSocketImpl instance after SocketReceiveTasks completed [r=qdot] 2013-01-16 10:21:49 +08:00
UnixSocket.h Bug 811683 - Changed UnixSocketRawData to take variable sizes up to 64k, r=cjones 2012-12-20 18:36:55 +08:00