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 malloc/14483] obstack uses int for allocation sizes


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|security-                   |security+

--- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
There is a series of fixes in gnulib:

commit 266ac1b98dbf76a78cdc584b10ed73355a084e7a
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Oct 29 14:02:31 2014 +1030

    obstack: 64-bit obstack support, part 1

commit bb2ab7ecb6c92895e69837414f238568f013a603
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Oct 29 14:02:40 2014 +1030

    obstack: 64-bit obstack support, part 2

commit 82a38a0d7776d99e7afc03e0d8df93fa253f1e35
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Oct 29 14:03:00 2014 +1030

    obstack: 64-bit obstack support, part 3

commit 6c34297a9143b66bd69a1748a59662c45257f5f6
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Oct 28 23:58:42 2014 -0700

    obstack: use size_t alignments and check for overflow

commit d15b2da0ac25e085ce30a9e2672624999ce910a6
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Nov 3 17:32:27 2014 -0800

    obstack: fix macro return values


If I'm not mistaken, the 64-bit gnulib functions preempt the 32-bit glibc
implementations, which causes problems.

Upon reconsideration, we should probably treat this as a security issue.

-- 
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]