[Bug network/34289] ns_sprintrrf uses p_class, p_type internally
fweimer at redhat dot com via Glibc-bugs <[email protected]> Fri, 19 Jun 2026 17:12:42 +0000
| Newsgroups | gmane.comp.lib.glibc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=34289
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.44
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.44 via:
commit f69b7f95e3694177546faec25d88bb266885c3b8
Author: Florian Weimer <[email protected]>
Date: Fri Jun 19 18:22:20 2026 +0200
resolv: Fix ns_sprintrrf formatting of class, type values (bug 34289)
The p_class and p_type results could overwrite each other if both
were unknown. Format unknown values with CLASS and TYPE prefixes,
as in RFC 3597. Handle A6 separately because it cannot be added
to __p_type_syms for ABI reasons.
Reviewed-by: Carlos O'Donell <[email protected]>
Reviewed-by: Adhemerval Zanella <[email protected]>
--
You are receiving this mail because:
You are on the CC list for the bug.