This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/20683] New: resolv: 2008 ABI breakage related to __p_type_syms


https://sourceware.org/bugzilla/show_bug.cgi?id=20683

            Bug ID: 20683
           Summary: resolv: 2008 ABI breakage related to __p_type_syms
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

The addition of DNAME support in commit
34ca2ff7da8f3701fc476fd84984677262390c09 (which went into glibc 2.9, as far as
I can see) changed the size of the data symbol __p_type_syms, breaking ABI.

Any existing reference to the symbol from an application would lose the
sentinel at the end.  Depending on what's next in the data section, this would
break anything in the application that uses the RR type conversion functions in
libresolv.  (Current libresolv has a hidden alias, so its own usage is
protected, and it seems that res_debug.c is mostly provided for non-existing
external users anyway, not use by libresolv itself.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]