[Bug malloc/23352] New: __malloc_check_init still defined in public header malloc.h.

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

[Bug malloc/23352] New: __malloc_check_init still defined in public header malloc.h.

fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23352

            Bug ID: 23352
           Summary: __malloc_check_init still defined in public header
                    malloc.h.
           Product: glibc
           Version: 2.29
            Status: NEW
          Severity: normal
          Priority: P2
         Component: malloc
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
  Target Milestone: ---

In malloc.h we still define:

/* Activate a standard set of debugging hooks. */
extern void __malloc_check_init (void) __THROW __MALLOC_DEPRECATED;

However it is not in malloc/Versions, nor is it in any ABI baselines.

It should be removed?

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

[Bug malloc/23352] __malloc_check_init still defined in public header malloc.h.

fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23352

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Yes, it should be removed.

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

[Bug malloc/23352] __malloc_check_init still defined in public header malloc.h.

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23352

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andreas Schwab <[hidden email]>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=32b8188ac84ea0c0280a34f65c1fd7faf731c289

commit 32b8188ac84ea0c0280a34f65c1fd7faf731c289
Author: Andreas Schwab <[hidden email]>
Date:   Tue Jul 9 16:44:02 2019 +0200

    Don't declare __malloc_check_init in <malloc.h> (bug 23352)

    The function was never part of the malloc API.

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

[Bug malloc/23352] __malloc_check_init still defined in public header malloc.h.

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23352

Andreas Schwab <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.30

--- Comment #3 from Andreas Schwab <[hidden email]> ---
Fixed in 2.30.

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