This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22375] malloc returns pointer from tcache_get when should return NULL
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 31 Oct 2017 14:53:18 +0000
- Subject: [Bug libc/22375] malloc returns pointer from tcache_get when should return NULL
- Auto-submitted: auto-generated
- References: <bug-22375-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22375
Carlos O'Donell <carlos at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
Assignee|unassigned at sourceware dot org |arjun.is at lostca dot se
--- Comment #3 from Carlos O'Donell <carlos at redhat dot com> ---
Iain,
Thanks for posting this.
Arjun,
Could you look at this and see if we have a missing overflow check? I expect
that the large sized allocation overflows the size computation in the tcache
and that there might be a window on the high end where the value is being
treated as if it was small.
--
You are receiving this mail because:
You are on the CC list for the bug.