pristine-tar: Fail when the delta is excessively large, probably due to the tarball...
authorJoey Hess <joey@kitenet.net>
Mon, 9 Jan 2012 15:42:52 +0000 (11:42 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 9 Jan 2012 15:42:56 +0000 (11:42 -0400)
commit3f22253b6c6225128abd8c51cb5b99fd7bb355b8
tree1ded0b79cb06f1a0969626a0b2ae614b2af6be5e
parent9428ae4ae6381d706968851be31d868922f779f6
pristine-tar: Fail when the delta is excessively large, probably due to the tarball being compressed with something that tar x can  auto-extract, but that pristine-tar does not support.

It would be cleaner to test the tarball's magic to see if it's a regular,
non-compressed tarball. But, there are a lot of historical tar-like
formats, so implementing magic for tar is hard. (And I don't use file(1)
in pristine-tar).

Anyway, this also catches any other failure that can result in a delta >=
the size of the input. Completely failing to get any of the input files
right could also make this happen, perhaps.
debian/changelog
pristine-tar