[PATCH v7 3/4] Add system-wide tunables: Apply tunables part

DJ Delorie dj@redhat.com
Mon Jun 15 19:29:06 GMT 2026


Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:
>> +  if (ext.sections[cache_extension_tag_tunables].base
>> +      + ext.sections[cache_extension_tag_tunables].size
>> +      < (void *) & tec[count])
>> +    return NULL;
>> +
>> +  return thc;
>
> Should we validate that all '*data + thc->tunables[t].{name,value}_offset' are
> valid string here? It should avoid loading invalid/corrupted files.

I added code to check them.



More information about the Libc-alpha mailing list