[Bug 297867] inet_net_pton() for AF_INET6 doesn't set errno on errors

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297867

            Bug ID: 297867
           Summary: inet_net_pton() for AF_INET6 doesn't set errno on
                    errors
           Product: Base System
           Version: 14.4-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 274089
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=274089&action=edit
Suggested patch

inet_net_pton() for AF_INET6 calls inet_net_pton_ipv6() which calls inet_pton()
and converts the return code on error but doesn't set errno.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.