]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/rfapi/rfapi_import.c
bgpd: Initialize pfx_buf to zeros before using in bgp_path_info_cmp()
[mirror_frr.git] / bgpd / rfapi / rfapi_import.c
index 4b8e07a9c4c787b9c2daea8b752d533a3dae9f97..27f7c88d7be19841a443f1183953b10ab50b4d30 100644 (file)
@@ -1939,7 +1939,7 @@ static void rfapiBgpInfoAttachSorted(struct agg_node *rn,
        struct bgp *bgp;
        struct bgp_path_info *prev;
        struct bgp_path_info *next;
-       char pfx_buf[PREFIX2STR_BUFFER];
+       char pfx_buf[PREFIX2STR_BUFFER] = {};
 
 
        bgp = bgp_get_default(); /* assume 1 instance for now */