1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
xz-archive/src/liblzma
Lasse Collin 9271a3eb0e liblzma: Be less picky in lzma_alone_decoder().
To avoid false positives when detecting .lzma files,
rare values in dictionary size and uncompressed size fields
were rejected. They will still be rejected if .lzma files
are decoded with lzma_auto_decoder(), but when using
lzma_alone_decoder() directly, such files will now be accepted.
Hopefully this is an OK compromise.

This doesn't affect xz because xz still has its own file
format detection code. This does affect lzmadec though.
So after this commit lzmadec will accept files that xz or
xz-emulating-lzma doesn't.

NOTE: lzma_alone_decoder() still won't decode all .lzma files
because liblzma's LZMA decoder doesn't support lc + lp > 4.

Reported here:
http://sourceforge.net/projects/lzmautils/forums/forum/708858/topic/7068827

Conflicts:
	src/liblzma/common/alone_decoder.c
	src/liblzma/common/alone_decoder.h
2013-04-05 19:34:09 +03:00
..
api Bump version and soname for 5.0.4. 2012-06-22 10:25:43 +03:00
check A few typo fixes to comments and the xz man page. 2012-12-15 20:01:02 +02:00
common liblzma: Be less picky in lzma_alone_decoder(). 2013-04-05 19:34:09 +03:00
delta Add underscores to attributes (__attribute((__foo__))). 2011-05-17 12:27:22 +03:00
lz liblzma: Remove unneeded semicolon. 2011-06-16 12:16:05 +03:00
lzma Remove doubled words from documentation and comments. 2011-04-12 12:03:31 +03:00
rangecoder Build system fixes 2009-06-30 17:09:57 +03:00
simple liblzma: Fix possibility of incorrect LZMA_BUF_ERROR. 2012-05-29 12:54:47 +03:00
liblzma.pc.in Use PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. 2010-01-27 13:31:03 +02:00
liblzma_w32res.rc Added public domain notice into a few files. 2009-07-18 11:26:39 +03:00
Makefile.am Bump version and soname for 5.0.4. 2012-06-22 10:25:43 +03:00