This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix assertion in malloc.c:tcache_get
- From: Carlos O'Donell <carlos at redhat dot com>
- To: DJ Delorie <dj at delorie dot com>, Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 6 Feb 2019 09:28:45 -0500
- Subject: Re: Fix assertion in malloc.c:tcache_get
- References: <xn8syv15zu.fsf@envy.delorie.com>
On 2/4/19 6:36 PM, DJ Delorie wrote:
> Joseph Myers <joseph@codesourcery.com> writes:
>> - assert (tcache->entries[tc_idx] > 0);
>> + assert (tcache->counts[tc_idx] > 0);
>
> Yes please :-)
Did we backport this anywhere that needs this fix?
--
Cheers,
Carlos.