Fix off-by-one OOB read in elf/tst-tls20
commit6a3794ea917558776ba1a66a925f2d5e1dbf0724
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 11 Oct 2022 12:07:59 +0000 (11 13:07 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 28 Oct 2022 10:16:51 +0000 (28 11:16 +0100)
treec7124c1f2eeaed38eabd1de304dcf5015eb0caad
parenteef17d4d9fcd38c5cbb9bc9515ba72d1773b67a2
Fix off-by-one OOB read in elf/tst-tls20

The int mods[nmods] array on the stack was overread by one.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
elf/tst-tls20.c