forked from mirrors/tar-split
a04b4ddba4
Motivation: * Previous implementation did not detect integer overflow when parsing a base-256 encoded field. * Previous implementation did not treat the integer as a two's complement value as specified by GNU. The relevant GNU specification says: <<< GNU format uses two's-complement base-256 notation to store values that do not fit into standard ustar range. >>> Fixes #12435 Change-Id: I4639bcffac8d12e1cb040b76bd05c9d7bc6c23a8 Reviewed-on: https://go-review.googlesource.com/17424 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
gnu-multi-hdrs.tar | ||
gnu.tar | ||
hardlink.tar | ||
hdr-only.tar | ||
issue10968.tar | ||
issue11169.tar | ||
issue12435.tar | ||
neg-size.tar | ||
nil-uid.tar | ||
pax-multi-hdrs.tar | ||
pax-path-hdr.tar | ||
pax.tar | ||
small.txt | ||
small2.txt | ||
sparse-formats.tar | ||
star.tar | ||
ustar-file-reg.tar | ||
ustar.tar | ||
v7.tar | ||
writer-big-long.tar | ||
writer-big.tar | ||
writer.tar | ||
xattrs.tar |