Victor Stinner a écrit :
> Hi,
> 
> I found a bug in IndexServer::Connect(): if a connection to an IP 
> address fails, the function doesn't remove the IP or skip this IP in 
> next try.
> 
> I added "server_lst.erase(current_server);" but it crashs. It looks like 
> current_server equals server_list.end() when server list only contains 
> one item.

Probably related to this bug drayan just filled in:
https://gna.org/bugs/?10391

I'm currently quite a bit busy with all bug reports and in general the 
windows networking support, so I don't think I'll personaly investigate 
it anytime soon :/

For the source of the bug, it dreadfully reminds me of an equivalent 
problem with a visual studio compile binary, where the list of distant 
computers is causing a crash when a hard disconnect happens during list 
traversal.

Maybe some std::list mis/abuse.

Best regards,
Kurosu

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à