about summary refs log tree commit diff
path: root/string/tst-inlcall.c
diff options
context:
space:
mode:
authorJavier Pello <devel@otheo.eu>2022-09-05 20:09:01 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-09-08 12:12:35 +0200
commita23820f6052a740246fdc7dcd9c43ce8eed0c45a (patch)
treea467fe520afffe25a7bd97d4bf8934a194e33c9d /string/tst-inlcall.c
parent3d7d5c10c806ee24f8e35014e41e203002609a3f (diff)
downloadglibc-a23820f6052a740246fdc7dcd9c43ce8eed0c45a.tar.gz
glibc-a23820f6052a740246fdc7dcd9c43ce8eed0c45a.tar.xz
glibc-a23820f6052a740246fdc7dcd9c43ce8eed0c45a.zip
elf: Fix hwcaps string size overestimation
Commit dad90d528259b669342757c37dedefa8577e2636 added glibc-hwcaps
support for LD_LIBRARY_PATH and, for this, it adjusted the total
string size required in _dl_important_hwcaps. However, in doing so
it inadvertently altered the calculation of the size required for
the power set strings, as the computation of the power set string
size depended on the first value assigned to the total variable,
which is later shifted, resulting in overallocation of string
space. Fix this now by using a different variable to hold the
string size required for glibc-hwcaps.

Signed-off-by: Javier Pello <devel@otheo.eu>
Diffstat (limited to 'string/tst-inlcall.c')
0 files changed, 0 insertions, 0 deletions