[PATCH] glibc: Terminate process on invalid netlink response from kernel [BZ #12926]
Mike Frysinger
vapier@gentoo.org
Sat Oct 24 04:22:00 GMT 2015
On 23 Oct 2015 22:07, Florian Weimer wrote:
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/netlink_assert_response.c
> @@ -0,0 +1,100 @@
> +/* Copyright (C) 2015 Free Software Foundation, Inc.
> + This file is part of the GNU C Library.
guess we like to have the first line be a short desc of the file
> +static int
> +get_address_family (int fd)
> +{
> ...
> + return sa.ss_family;
ss_family is of type sa_family_t, not int ... not a big deal, but the
two do differ in sign ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20151024/22d363c0/attachment.sig>
More information about the Libc-alpha
mailing list