[ENet-discuss] freeing bug causing crash in enet_protocol_remove_sent_reliable_command

David Frampton davidframpton at majicjungle.com
Mon Jun 10 18:18:38 PDT 2013


Hi there

Apologies if this has been covered, I just signed up to the list to file this bug report.

I'm seeing a crash on an enet server very occasionally when clients are disconnected. I think it's triggered at enet_free (outgoingCommand); from within enet_peer_reset_outgoing_commands (ENetList * queue). It appears that there isn't always a valid outgoingCommand to free. I googled the problem and saw someone else had the same issue and offered a fix here:

http://cubeengine.com/forum.php4?action=display_thread&thread_id=1890&start=891

Cheers,
David


More information about the ENet-discuss mailing list