mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 05:28:51 +00:00
Merge pull request #8805 from opensourcerouting/find-asan-crash
lib: fix address sanitizer crash on `find`
This commit is contained in:
commit
78c724e16a
@ -1496,7 +1496,7 @@ static void permute(struct graph_node *start, struct vty *vty)
|
||||
static void print_cmd(struct vty *vty, const char *cmd)
|
||||
{
|
||||
int i, j, len = strlen(cmd);
|
||||
char buf[len];
|
||||
char buf[len + 1];
|
||||
bool skip = false;
|
||||
|
||||
j = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user