I always thought that the numbers you changed by +1 intentionally
included the 0-terminator of the string. Do you have a sample USTAR
file so that I can check which one is right?
Also, the dist'ing errors I had just fixed myself, so those should be
fine now.
Happy hacking,
Christian
On 11/27/2011 08:18 PM, Ville Skyttä wrote:
> Hello,
>
> Attached is a couple of patches for libextractor:
>
> - libextractor-include-fuzz-scripts.patch:
> Include fuzz scripts in dist tarball.
>
> - libextractor-plugins.patch:
> Fix a couple of things flagged by cppcheck. Please review the
> ustarMagic related changes; I suppose it needs to be an array of 7 due
> to the 'memcmp (tar->ustarMagic, "ustar ", 7)' check.
>
> Ville