From e0421a26600e38bc02e632d20bc7bcd746d5a081 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Mar 24 2021 01:31:41 +0000 Subject: Apply patch glibc-rh1746933-2.patch patch_name: glibc-rh1746933-2.patch present_in_specfile: true location_in_specfile: 193 --- diff --git a/malloc/malloc.c b/malloc/malloc.c index 92239b3..998879a 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -2948,7 +2948,7 @@ tcache_get (size_t tc_idx) { tcache_entry *e = tcache->entries[tc_idx]; assert (tc_idx < TCACHE_MAX_BINS); - assert (tcache->entries[tc_idx] > 0); + assert (tcache->counts[tc_idx] > 0); tcache->entries[tc_idx] = e->next; --(tcache->counts[tc_idx]); e->key = NULL;