summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-01-10 23:33:50 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2017-01-13 14:37:40 +0100
commit78af6edc6cd7d17fa11d11fbb9f54efd459230e2 (patch)
tree93ad0ef752fee81a9e7d2479d2d57441fabe071f /lib/command.c
parentccc4bd306225df7b5f5a5da30c13f65266d9520c (diff)
lib: limit size of vty buffer to 4096 bytes
This removes the automatic resizing of the vty input buffer and places a hard size cap of 4096 bytes. It also fixes a potentially unsafe strcpy. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com> [cherry-picked from master 2af38873d89e20bd039255418366c1601aa99e64]
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions