]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pim6d: fix string constant size
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 27 Mar 2022 14:18:59 +0000 (16:18 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sun, 27 Mar 2022 14:18:59 +0000 (16:18 +0200)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
pimd/pim6_cmd.c

index b97d7aabd736cc36c91cac9278e6e4d793204ead..7b3e04fdc0ccc558001224ad6f558312d1e3f2ac 100644 (file)
@@ -523,7 +523,7 @@ DEFPY (interface_no_ipv6_mld,
        IFACE_MLD_STR)
 {
        const struct lyd_node *pim_enable_dnode;
-       char pim_if_xpath[XPATH_MAXLEN + 20];
+       char pim_if_xpath[XPATH_MAXLEN + 64];
 
        snprintf(pim_if_xpath, sizeof(pim_if_xpath),
                 "%s/frr-pim:pim/address-family[address-family='%s']",