bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: connect() access bytes after socket address


From: Samuel Thibault
Subject: Re: connect() access bytes after socket address
Date: Fri, 1 Mar 2013 01:05:25 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Tanaka Akira, le Thu 28 Feb 2013 15:35:07 +0900, a écrit :
> 2013/2/28 Roland McGrath <roland@hack.frob.com>:
> > I agree they should be consistent.  Note that sendto and sendmsg are
> > consistent with connect, rather than with bind.
> 
> I didn't know that.
> But I still think that the bind() behavior is better.
> 
> Giving the length without NUL is traditional practice in applications.
> Changing bind() may cause application problems.

I agree. I've worked on a patch, pushed to topgit for later submission.

Thanks!
Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]