Regression introduced with 2.11.0: The failure paths in socket, socketpair and accept4 functions and methods accidentally release *unused* cygheap_fdmanip objects. The subsequently called dtable::release method was designed to be called for *used* cygheap_fdmanip objects only. Using them on unused objects leads to NULL pointer member dereferencing. Worse, the inet/local accept4 methods only release the cygheap_fdmanip object but neglect to delete the just created fhandler_socket_* object. Fix this by removing the erroneous release calls in the aforementioned failure paths and delete the fhandler_socket_* object in accept4 instead. Signed-off-by: Corinna Vinschen <corinna@vinschen.de> |
||
---|---|---|
.. | ||
1.7.10 | ||
1.7.11 | ||
1.7.12 | ||
1.7.13 | ||
1.7.14 | ||
1.7.15 | ||
1.7.16 | ||
1.7.17 | ||
1.7.18 | ||
1.7.19 | ||
1.7.20 | ||
1.7.21 | ||
1.7.22 | ||
1.7.23 | ||
1.7.24 | ||
1.7.25 | ||
1.7.26 | ||
1.7.27 | ||
1.7.28 | ||
1.7.29 | ||
1.7.30 | ||
1.7.31 | ||
1.7.32 | ||
1.7.33 | ||
1.7.34 | ||
1.7.35 | ||
2.0.0 | ||
2.0.1 | ||
2.0.3 | ||
2.0.4 | ||
2.1.0 | ||
2.2.0 | ||
2.2.1 | ||
2.3.0 | ||
2.3.1 | ||
2.4.0 | ||
2.4.1 | ||
2.5.0 | ||
2.5.1 | ||
2.5.2 | ||
2.6.0 | ||
2.6.1 | ||
2.7.0 | ||
2.8.0 | ||
2.8.1 | ||
2.8.2 | ||
2.9.0 | ||
2.10.0 | ||
2.11.0 | ||
2.11.1 | ||
2.11.2 |