]> git.proxmox.com Git - mirror_frr.git/commit
zebra: ensure ipset name is null terminated
authorQuentin Young <qlyoung@cumulusnetworks.com>
Sat, 4 Jan 2020 02:40:30 +0000 (21:40 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Sat, 4 Jan 2020 02:40:30 +0000 (21:40 -0500)
commit261462c3aacd728f9143a36487bf95730fdc6736
tree43d625044de9f20b18ffff1ba938834d19be02c2
parentb833cc1ff473e5de43a6c33b520024c943db180c
zebra: ensure ipset name is null terminated

We copy a fixed length buffer from the wire but don't ensure it is null
terminated. Then print it as a c-string. Lul.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
zebra/zapi_msg.c