aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod1.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2020-12-30 23:40:14 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-04-15 09:30:43 +0100
commitd2b997c7172e9a00895a9deb379f8782fbd2e36f (patch)
tree7feb501c2ba9b6cffe1b3e012312b8033340225b /elf/tst-tlsmod1.c
parentaecbe50c9dc3f79edccf4f1fd42ce4c5537de28b (diff)
downloadglibc-d2b997c7172e9a00895a9deb379f8782fbd2e36f.tar
glibc-d2b997c7172e9a00895a9deb379f8782fbd2e36f.tar.gz
glibc-d2b997c7172e9a00895a9deb379f8782fbd2e36f.tar.bz2
glibc-d2b997c7172e9a00895a9deb379f8782fbd2e36f.zip
elf: Fix a DTV setup issue [BZ #27136]
The max modid is a valid index in the dtv, it should not be skipped. The bug is observable if the last module has modid == 64 and its generation is same or less than the max generation of the previous modules. Then dtv[0].counter implies dtv[64] is initialized but it isn't. Fixes bug 27136. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/tst-tlsmod1.c')
0 files changed, 0 insertions, 0 deletions