[Bug 3167] Bugs found by static tests

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri May 29 15:04:51 AEST 2020


https://bugzilla.mindrot.org/show_bug.cgi?id=3167

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Damien Miller <djm at mindrot.org> ---
> https://sonarcloud.io/project/issues?id=openssh-portable-
> tests&open=AXIu8yLf_34BaxGawOKT&resolved=false&severities=CRITICAL&ty
> pes=BUG


This one is another false positive. The analyser misses that the
unix_listener() call is only reachable when family==AF_UNIX and there
there is a check that ensures "host" is not NULL for that case:

https://sonarcloud.io/code?id=openssh-portable-tests&selected=openssh-portable-tests%3Aregress%2Fnetcat.c&line=296

I've synced regress/netcat.c with upstream to fix the duplicate ==-1
check in the other report.

-- 
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