[Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26210

            Bug ID: 26210
           Summary: Incorrect use of hidden symbols for global sunrpc
                    variables
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

This commit went into glibc 2.28:

commit 89aacb513eb77549a29df2638913a0f8178cf3f5
Author: Florian Weimer <[hidden email]>
Date:   Fri May 11 15:36:50 2018 +0200

    sunrpc: Remove stray exports without --enable-obsolete-rpc [BZ #23166]

It introduces hidden alias for svc_pollfd, svc_max_pollfd, svc_fdset, but those
hidden aliases are incompatible with copy relocations.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables

Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26210

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=23166
                 CC|                            |fweimer at redhat dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables

Sourceware - glibc-bugs mailing list
In reply to this post by Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26210

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables

Sourceware - glibc-bugs mailing list
In reply to this post by Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26210

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Also applies to rpc_createerr (which is a global data symbol, too).

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables

Sourceware - glibc-bugs mailing list
In reply to this post by Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26210

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted: https://sourceware.org/pipermail/libc-alpha/2020-July/115834.html

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables

Sourceware - glibc-bugs mailing list
In reply to this post by Sourceware - glibc-bugs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26210

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.32

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for glibc 2.32 by:

commit 78e02c469828fcfb6a5cf73dbcceb4f60fb6fafd
Author: Florian Weimer <[hidden email]>
Date:   Wed Jul 8 07:58:51 2020 +0200

    sunrpc: Remove hidden aliases for global data symbols (bug 26210)

    It is generally not possible to add hidden aliases for global data
    symbols: If the main executable contains a copy relocation against
    the symbol, the hidden aliases keep pointing to the glibc-internal
    copy of the symbol, instead of the symbol actually used by the
    application.

    Fixes commit 89aacb513eb77549a29df2638913a0f8178cf3f5 ("sunrpc:
    Remove stray exports without --enable-obsolete-rpc [BZ #23166]").

    Reviewed-by: Carlos O'Donell <[hidden email]>

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