From 6ce71e6694d65740dbb38eff925d81ba30a67f1d Mon Sep 17 00:00:00 2001 From: John Reiser Date: Wed, 25 Apr 2007 10:54:00 -0700 Subject: [PATCH] upx_lzma_test_overlap revert to 256 [FIXME] --- src/compress_lzma.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compress_lzma.cpp b/src/compress_lzma.cpp index b0349be4..79bd3338 100644 --- a/src/compress_lzma.cpp +++ b/src/compress_lzma.cpp @@ -503,7 +503,9 @@ int upx_lzma_test_overlap ( const upx_bytep buf, unsigned src_off, // 2007-04-25 lower bound 0x810 using --lzma on // http://www.equi4.com/pub/tk/8.4.13/tclkit-linux-x86.gz - if ((int)overlap_overhead >= 0xa00) + // So that file will fail until this function does a real + // decompress+verify. + if ((int)overlap_overhead >= 256) return UPX_E_OK; UNUSED(cresult);