diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-25 08:07:58 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-25 11:37:07 -0400 |
| commit | 1e9f448fe1b60e464d187c96092d2cf6201e64e1 (patch) | |
| tree | 381ed303a9f00d6534be36b2e5671f6b4ed656e6 /zebra/rtadv.c | |
| parent | 9ca25fedba875265f191af92f1887d35076b6403 (diff) | |
zebra: Coverity Code Cleanup
1) Various socket close issues
2) Ensure afi passed is usable
3) Fix some reads beyond buffer and reads after free
4) Ensure some failure modes are handled properly
5) Memory Leak(s) fix
6) There is no 6.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rtadv.c')
| -rw-r--r-- | zebra/rtadv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c index 295975c5ca..88836af72e 100644 --- a/zebra/rtadv.c +++ b/zebra/rtadv.c @@ -630,7 +630,6 @@ static int rtadv_make_socket(void) safe_strerror(errno)); if (sock < 0) { - close(sock); return -1; } |
