]> git.proxmox.com Git - mirror_frr.git/commit - lib/zclient.c
lib: Fix SA issue with stream s read
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Feb 2017 00:43:43 +0000 (19:43 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Feb 2017 00:43:43 +0000 (19:43 -0500)
commitc28e5b2a83732c8b235c6b7d4ce64fc2c449d939
tree34209a55433789fd19d2a0c41ffb5ead60ecd211
parente46538e628ccab900bc58885204fc26ad0c6d8a2
lib: Fix SA issue with stream s read

We were checking for non-null of 'struct stream *s'
after we did a stream_getl, which would have crashed
the program.

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