Re: [PATCH,TRIVIAL] AF_UNIX, accept() and addrlen

From: Michael Kerrisk
Date: Thu Apr 24 2008 - 04:31:41 EST


> > and I see that in net/unix/af_unix.c::unix_getname() there is:
> >
>
> > *uaddr_len = sizeof(short);
>
> I'd say that code should be fixed into using sa_family_t.

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