This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/6717] Race condition in GNAT.Sockets.Create_Selector
- From: "fw at deneb dot enyo dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Oct 2003 16:51:09 -0000
- Subject: [Bug ada/6717] Race condition in GNAT.Sockets.Create_Selector
- References: <20020518052602.6717.fw@deneb.enyo.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6717
------- Additional Comments From fw at deneb dot enyo dot de 2003-10-21 16:51 -------
Subject: Re: Race condition in GNAT.Sockets.Create_Selector
In Create_Selector, the call to C_Accept might accept a connection that
is not the one that was started a couple of lines above. The code does
not deal with that situation in any way.