Re: [nftables PATCH] netlink: do not SIGSEGV when socket() fails

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

 



Shawn Landden <shawn@xxxxxxxxxxxxxxx> wrote:
> +	if (nf_sock == NULL) {
> +		fprintf(fdopen(STDERR_FILENO, "a"),
> +			"Could not open AF_NETLINK socket: %s\n",
> +			strerror(errno));

Why this fdopen() [ which can fail ] construct?
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux