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 18:49:13 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Roland McGrath, le Fri 01 Mar 2013 09:39:17 -0800, a écrit :
> > I agree. I've worked on a patch, pushed to topgit for later submission.
> 
> I hope you did it by adding a common helper function

I didn't bother, but I can indeed, probably to
glibc/include/sys/socket.h, or some other file?

> (or perhaps it needs to be macro declaring a local VLA)

I rather used strndupa, provided by glibc/include/string.h as a macro
using __builtin_alloca.

Samuel



reply via email to

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