]> git.proxmox.com Git - mirror_frr.git/commit
vtysh: fp can never be NULL at this point in code
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 1 Jun 2018 00:27:01 +0000 (20:27 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 5 Jun 2018 14:42:05 +0000 (10:42 -0400)
commit17e28b4cb488322b533ff79e2c1c0f32ca5b5b7b
treec487ed0a0f9d6d80a7da1753bcd8783b033041ed
parent12d82cd7bffbfe944bdee53cd96cb16cdf623e13
vtysh: fp can never be NULL at this point in code

The fp pointer has already been dereferenced in all paths
leading to the test for non NULL.  Since we never crash
we know it cannot be NULL.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
vtysh/vtysh.c