forwarded 334304 bug-cfengine@gnu.org
thanks

Hi!

We got a bugreport [1] from one of our Debian Developers with IPv6
problems:

On Sun, 27 Nov 2005 00:29:15 +0100, Steinar H. Gunderson wrote:

> Look at src/proto.c, IdentifyForVerification():
> 
>    struct sockaddr_in myaddr;
>    (...)
>    case AF_INET6: len = sizeof(struct sockaddr_in6);
>    (...)
>    if (getsockname(sd,(struct sockaddr *)&myaddr,&len) == -1)
>
> Now, sizeof(struct sockaddr_in) = 16, sizeof(struct sockaddr_in6) =
> 28.  Increasing the size of myaddr makes the problem go
> away. (myaddr is on the stack, which explains why regular Valgrind
> can't find it.)

I've made Steinar H. Gunderson's patch [2] for this problem available,
so please consider it for inclusion.


- Werner

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334304
[2] http://skolelinux.no/~werner/100_fix_ipv6_buffer_overrun


_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cfengine

Reply via email to