Re: [PATCH 2/8] elf: Verify the tunable cache header signature and version
DJ Delorie <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Message-ID | <[email protected]> |
Adhemerval Zanella <[email protected]> writes: > + /* Reject data produced by a different tunable cache format. */ > + if (thc->signature != TUNCONF_SIGNATURE || thc->version != TUNCONF_VERSION) > + return NULL; In the future, we'll have to handle multiple versions, but this works for now. LGTM Reviewed-by: DJ Delorie <[email protected]>