]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix static analysis issues, use regfree()
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 29 May 2018 17:13:51 +0000 (17:13 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 6 Jun 2018 16:16:12 +0000 (16:16 +0000)
commit5d806ec6e0bce5f1cd32b0d5386c1ad97c31c1f8
treec025730971c6c8eb3351b439659a8a36b0e0369d
parent62bece44494e5b7aefb5102bd1109e1e1376c3b3
lib: fix static analysis issues, use regfree()

* Fix potential NULL dereference
* Fix use of uninitialized value
* Fix leaking memory by not freeing regex_t
* Fix extra \n when using empty regex filter
* Clean up still-reachable hook memory
* Handle nonexistent pager

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