]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: add missing nulstr terminator
authorEvgeny Vereshchagin <evvers@ya.ru>
Fri, 22 Mar 2019 10:38:02 +0000 (11:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Mar 2019 12:25:42 +0000 (13:25 +0100)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13821

src/network/netdev/l2tp-tunnel.c

index abaa92fe4753177afb7c062f17e1d71f4318d46d..2a74d89e5d229a4159a56bc3b5bed774cc0f3f3f 100644 (file)
@@ -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,