]> git.puffer.fish 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>
Wed, 15 Jan 2020 17:49:44 +0000 (12:49 -0500)
commit8adba491619e117688980113f1664d09bfa14b6a
treeede2f0ceababa9497601277757528e2f9041c561
parentc07005a0d853fb145a8c84cf4f631d4308fc751c
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