[Bug 2883] Coverity issues
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Fri Jul 27 14:19:44 AEST 2018
https://bugzilla.mindrot.org/show_bug.cgi?id=2883
--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
Comment on attachment 3166
--> https://bugzilla.mindrot.org/attachment.cgi?id=3166
tweaked diff
>- struct addrinfo hints, *ai;
>+ struct addrinfo hints, *ai = NULL;
[...]
>+ out:
> freeaddrinfo(ai);
I don't think there's any guarantee freeaddrinfo(NULL) is safe. I
don't see it in the man page for openbsd or linux and I don't see it in
rfc3493
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list