diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-01-10 23:33:50 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-01-10 23:33:50 +0000 |
| commit | 2af38873d89e20bd039255418366c1601aa99e64 (patch) | |
| tree | e0861e6bd3ff24e00172d68c9cd04a168d522558 /lib/json.c | |
| parent | b98f56422e692217bb149aaa78fda77e07097658 (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
