summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-01-10 23:33:50 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-01-10 23:33:50 +0000
commit2af38873d89e20bd039255418366c1601aa99e64 (patch)
treee0861e6bd3ff24e00172d68c9cd04a168d522558 /lib/json.c
parentb98f56422e692217bb149aaa78fda77e07097658 (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>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions