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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.