NSIS/Source
kichik 2efd32160b fixed bug #1874297 - Error decompressing data! Corrupted installer?
problem was that decompression ended prematurely. instead of waiting for zlib to return Z_STREAM_END, it checked if no more output was required. this could cause a case where zlib wouldn't read its entire stream. in this particular case, the compressed headers were 0x4001 bytes long and compressed data input buffer size is only 0x4000. instead of waiting for another run of inflate() to read the last byte, which is probably eof, _dodecmop() broke the loop and didn't read that extra byte. since loadHeaders() relays on _dodecomp() to read the entire header so it can calculate where the data block begins, all reads from the data block suddenly became off by one, causing "decompression errors".

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5557 212acab6-be3b-0410-9dea-997c60f758d6
2008-02-23 16:28:23 +00:00
..
7zip happy new year! 2007-12-22 09:41:57 +00:00
boost Imported and modified some sources from Boost (http://www.boost.org) 2004-10-15 03:40:07 +00:00
bzip2 happy new year! 2007-12-22 09:41:57 +00:00
exehead fixed bug #1874297 - Error decompressing data! Corrupted installer? 2008-02-23 16:28:23 +00:00
Tests fixed bug #1753063 - CVS test failure on hppa 2007-07-16 18:28:18 +00:00
zlib happy new year! 2007-12-22 09:41:57 +00:00
afxres.h happy new year! 2007-12-22 09:41:57 +00:00
build.cpp happy new year! 2007-12-22 09:41:57 +00:00
build.h happy new year! 2007-12-22 09:41:57 +00:00
cbzip2.h happy new year! 2007-12-22 09:41:57 +00:00
clzma.cpp happy new year! 2007-12-22 09:41:57 +00:00
clzma.h happy new year! 2007-12-22 09:41:57 +00:00
compressor.h happy new year! 2007-12-22 09:41:57 +00:00
crc32.c happy new year! 2007-12-22 09:41:57 +00:00
crc32.h happy new year! 2007-12-22 09:41:57 +00:00
czlib.h happy new year! 2007-12-22 09:41:57 +00:00
DialogTemplate.cpp fixed bug #1841573 - RTL components & instfiles page 2007-11-30 09:54:13 +00:00
DialogTemplate.h fixed bug #1662190 - dialog template unicode conversion is lossy 2007-02-17 15:11:12 +00:00
dirreader.cpp happy new year! 2007-12-22 09:41:57 +00:00
dirreader.h happy new year! 2007-12-22 09:41:57 +00:00
fileform.cpp happy new year! 2007-12-22 09:41:57 +00:00
fileform.h happy new year! 2007-12-22 09:41:57 +00:00
growbuf.cpp happy new year! 2007-12-22 09:41:57 +00:00
growbuf.h happy new year! 2007-12-22 09:41:57 +00:00
icon.cpp fixed bug #1900098 - SVN trunk FTBFS on Debian GNU/Linux 2008-02-23 10:20:44 +00:00
icon.h happy new year! 2007-12-22 09:41:57 +00:00
lang.cpp happy new year! 2007-12-22 09:41:57 +00:00
lang.h happy new year! 2007-12-22 09:41:57 +00:00
lineparse.cpp happy new year! 2007-12-22 09:41:57 +00:00
lineparse.h happy new year! 2007-12-22 09:41:57 +00:00
makenssi.cpp happy new year! 2007-12-22 09:41:57 +00:00
manifest.cpp happy new year! 2007-12-22 09:41:57 +00:00
manifest.h happy new year! 2007-12-22 09:41:57 +00:00
mmap.cpp happy new year! 2007-12-22 09:41:57 +00:00
mmap.h happy new year! 2007-12-22 09:41:57 +00:00
Platform.h happy new year! 2007-12-22 09:41:57 +00:00
Plugins.cpp happy new year! 2007-12-22 09:41:57 +00:00
Plugins.h happy new year! 2007-12-22 09:41:57 +00:00
ResourceEditor.cpp happy new year! 2007-12-22 09:41:57 +00:00
ResourceEditor.h happy new year! 2007-12-22 09:41:57 +00:00
ResourceVersionInfo.cpp happy new year! 2007-12-22 09:41:57 +00:00
ResourceVersionInfo.h happy new year! 2007-12-22 09:41:57 +00:00
SConscript moved icon related functions to icon.cpp 2007-10-03 13:31:56 +00:00
script.cpp happy new year! 2007-12-22 09:41:57 +00:00
ShConstants.cpp happy new year! 2007-12-22 09:41:57 +00:00
ShConstants.h * The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0 2006-10-28 19:45:02 +00:00
strlist.cpp happy new year! 2007-12-22 09:41:57 +00:00
strlist.h happy new year! 2007-12-22 09:41:57 +00:00
tokens.cpp happy new year! 2007-12-22 09:41:57 +00:00
tokens.h another typo 2008-01-29 22:43:13 +00:00
uservars.h * The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0 2006-10-28 19:45:02 +00:00
util.cpp happy new year! 2007-12-22 09:41:57 +00:00
util.h happy new year! 2007-12-22 09:41:57 +00:00
winchar.cpp happy new year! 2007-12-22 09:41:57 +00:00
winchar.h happy new year! 2007-12-22 09:41:57 +00:00
writer.cpp happy new year! 2007-12-22 09:41:57 +00:00
writer.h happy new year! 2007-12-22 09:41:57 +00:00