Re: 2.2.15 kernel bug report

Tim Waugh (twaugh@redhat.com)
Tue, 3 Apr 2001 11:21:51 +0100


--GeDkoc8jIzHasOdk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Apr 03, 2001 at 01:53:26AM -0700, Allen Ashley wrote:

> ---------------------------------------------------------------
> soval=fcntl(s,F_GETFL,0);
> ioval=fcntl(0,F_GETFL,0);
> fcntl(s,F_SETFL,soval|O_NONBLOCK);
> fcntl(0,F_SETFL,ioval|O_NONBLOCK);
> cwait=WAITCONNECT;
> *chin=0;
> do{
> /*If the following line is commented out the program does not crash*/
> rval=connect(s, (struct sockaddr *)&dst, sizeof(dst));

You haven't mentioned dst before this line, or s. Make a small,
complete, minimal test program that shows the bug.

Tim.
*/

--GeDkoc8jIzHasOdk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6yaQ+ONXnILZ4yVIRAkfSAJ9AWYvVwOr9uzZ03p2dR1Kea5EJDQCcDd1U
9puEz7592eG73SnEbUfJ4W8=
=CG3I
-----END PGP SIGNATURE-----

--GeDkoc8jIzHasOdk--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/