[systemd-devel] [PATCH] sd-icmp6-nd: fix uninitialized fd
Lennart Poettering
lennart at poettering.net
Thu Jun 19 15:30:00 PDT 2014
On Thu, 19.06.14 19:32, Ronny Chevalier (chevalier.ronny at gmail.com) wrote:
Looks good! Applied!
> ---
> src/libsystemd-network/sd-icmp6-nd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/libsystemd-network/sd-icmp6-nd.c b/src/libsystemd-network/sd-icmp6-nd.c
> index f820a9c..10c5e5e 100644
> --- a/src/libsystemd-network/sd-icmp6-nd.c
> +++ b/src/libsystemd-network/sd-icmp6-nd.c
> @@ -171,6 +171,7 @@ int sd_icmp6_nd_new(sd_icmp6_nd **ret) {
> nd->n_ref = REFCNT_INIT;
>
> nd->index = -1;
> + nd->fd = -1;
>
> *ret = nd;
> nd = NULL;
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list