Skip to content
Commit 680c597e authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

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: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent b4cf6cac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment