From cbef9a944a33998f7b627b44663cedf46bbbe764 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 06 2021 22:39:40 +0000 Subject: Apply patch glibc-rh1817513-133.patch patch_name: glibc-rh1817513-133.patch present_in_specfile: true location_in_specfile: 537 --- diff --git a/elf/dl-hwcaps.c b/elf/dl-hwcaps.c index 50d764a..2fc4ae6 100644 --- a/elf/dl-hwcaps.c +++ b/elf/dl-hwcaps.c @@ -192,6 +192,7 @@ _dl_important_hwcaps (const char *glibc_hwcaps_prepend, /* Each hwcaps subdirectory has a GLIBC_HWCAPS_PREFIX string prefix and a "/" suffix once stored in the result. */ + hwcaps_counts.maximum_length += strlen (GLIBC_HWCAPS_PREFIX) + 1; size_t total = (hwcaps_counts.count * (strlen (GLIBC_HWCAPS_PREFIX) + 1) + hwcaps_counts.total_length);