]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: use buffer size instead of hardcoded value
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 14 Dec 2017 15:57:03 +0000 (13:57 -0200)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 14 Dec 2017 16:03:14 +0000 (14:03 -0200)
commita90b8cb58a58f2c77b8c76d76fa88cd241b776cd
tree22020c25b37a4665f775f4f254e36e2bf1681997
parentcb9cef73bd72113762ce9807c6623adb31427894
bgpd: use buffer size instead of hardcoded value

This is a possible buffer overflow.

We should always use the buffer size (whenever possible) to tell
functions what the size of the buffer is, instead of a hardcoded value.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bgpd/rfapi/rfapi_vty.c