about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-11-06 17:25:39 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-11-21 16:15:42 -0300
commit680c597e9c363bc74d1495b08f7a0593a80f8921 (patch)
tree20c33ed76def53a76f9ff8520c043ffed79f4b95 /sysdeps/unix/sysv/linux
parentb4cf6cac73725d988957410116ddf088546239ca (diff)
downloadglibc-680c597e9c363bc74d1495b08f7a0593a80f8921.tar.gz
glibc-680c597e9c363bc74d1495b08f7a0593a80f8921.tar.xz
glibc-680c597e9c363bc74d1495b08f7a0593a80f8921.zip
elf: Do not parse ill-formatted strings
Instead of ignoring ill-formatted tunable strings, first, check all the
tunable definitions are correct and then set each tunable value. It
means that partially invalid strings, like "key1=value1:key2=key2=value'
or 'key1=value':key2=value2=value2' do not enable 'key1=value1'. It
avoids possible user-defined errors in tunable definitions.

Checked on x86_64-linux-gnu.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux')
0 files changed, 0 insertions, 0 deletions