[Bug 288931] gai_strerror() incorrectly modifies errno

[email protected] Tue, 19 Aug 2025 21:27:33 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288931

--- Comment #2 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f892e509c1a07f7116b9788a05e4ae99a06d54d0

commit f892e509c1a07f7116b9788a05e4ae99a06d54d0
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2025-08-19 03:05:37 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2025-08-19 21:22:40 +0000

    libc: preserve errno in gai_strerror()

    PR:     288931
    Reviewed by:    emaste, glebius
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D52010

 lib/libc/net/gai_strerror.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.