René Scharfe writes:
> The name field of a tar header has a size of 100 characters. This limit
> was extended long ago in a backward compatible way by providing the
> additional prefix field, which can hold 155 additional characters. The
> actual path is constructed at extraction time by concat
René Scharfe wrote:
> --- a/archive-tar.c
> +++ b/archive-tar.c
> @@ -153,6 +153,8 @@ static unsigned int ustar_header_chksum(const struct
> ustar_header *header)
> static size_t get_path_prefix(const char *path, size_t pathlen, size_t
> maxlen)
> {
> size_t i = pathlen;
> + if (i >
The name field of a tar header has a size of 100 characters. This limit
was extended long ago in a backward compatible way by providing the
additional prefix field, which can hold 155 additional characters. The
actual path is constructed at extraction time by concatenating the prefix
field, a sla
3 matches
Mail list logo