From: Evgeny Vereshchagin Date: Fri, 22 Mar 2019 10:38:02 +0000 (+0100) Subject: network: add missing nulstr terminator X-Git-Tag: v242-rc1~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53294d9496d33685f23e42650af5c381d542eeff;p=thirdparty%2Fsystemd.git network: add missing nulstr terminator https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13821 --- diff --git a/src/network/netdev/l2tp-tunnel.c b/src/network/netdev/l2tp-tunnel.c index abaa92fe475..2a74d89e5d2 100644 --- a/src/network/netdev/l2tp-tunnel.c +++ b/src/network/netdev/l2tp-tunnel.c @@ -726,7 +726,7 @@ static void l2tp_tunnel_done(NetDev *netdev) { const NetDevVTable l2tptnl_vtable = { .object_size = sizeof(L2tpTunnel), .init = l2tp_tunnel_init, - .sections = "Match\0NetDev\0L2TP\0L2TPSession", + .sections = "Match\0NetDev\0L2TP\0L2TPSession\0", .create_after_configured = l2tp_create_tunnel, .done = l2tp_tunnel_done, .create_type = NETDEV_CREATE_AFTER_CONFIGURED,