[erlang-patches] fix erl_interface crash
Wed Oct 26 12:05:08 CEST 2011
On 10/26/2011 10:14 AM, Wei Cao wrote:
> Fix a crash in erl_interface.
> erl_interface use linux select() to get notified on socket events,
> which works when fd is less than 1024.
> however, when fd is larger than 1024, the fd_set structure on stack
> gets corrupted and the process crashes soon,
> this is possible when there are lots of connections kept or the
> process keeps creating new connect and closing it.
> git fetch git://github.com/weicao/otp.git
> <http://github.com/weicao/otp.git> erl_interface_replace_select_
> Wei Cao
> erlang-patches mailing list
1. The commit msg is not conforming to the guidelines on how to write a
proper commit msg.
2. could you add tests for this?
Thank you for the contribution!
/Henrik Nord Erlang/OTP
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-patches