1
Vote

Infinite Recursion in NetObjectClient.Send (56676)

description

Infinite recursion in NetObjectClient's Send method which in turn causes a stack overflow. (Change set 56676)
It seems the intent is to call the base class's Send method but doesn't refer to base and instead calls itself.
 
Fixed Send method for NetObjectClient is here:
public void Send(object obj)
{
    base.Send(new NetObject { Object = obj });
}
 
I've attached a fix (diff patch file) for NetObjectClient.cs as well.

file attachments

comments