]> git.proxmox.com Git - mirror_frr.git/commit
vtysh: fix potential stack buffer overflow
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 1 Jun 2018 19:25:03 +0000 (19:25 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 1 Jun 2018 19:25:03 +0000 (19:25 +0000)
commitacf59d7a876f4b815e8bfc4894def8150b3ec1fc
tree42b3a2b8ad475f815b11a010956d008f881ae04c
parent65757481f05eae3de3aa6b6e08702045e7341552
vtysh: fix potential stack buffer overflow

If vtysh was instructed to perform line-by-line processing on the output
of a command executed against a daemon and this output, as received by
vtysh, was not terminated with a newline, vtysh could print contents of
memory to its output device.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
vtysh/vtysh.c