NSIS/Source/exehead
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
..
afxres.h happy new year! 2007-12-22 09:41:57 +00:00
bgbg.c happy new year! 2007-12-22 09:41:57 +00:00
bitmap1.bmp updated with magentagaynessbg[tm] 2002-09-20 17:11:53 +00:00
components.c happy new year! 2007-12-22 09:41:57 +00:00
components.h happy new year! 2007-12-22 09:41:57 +00:00
config.h happy new year! 2007-12-22 09:41:57 +00:00
exec.c happy new year! 2007-12-22 09:41:57 +00:00
exec.h happy new year! 2007-12-22 09:41:57 +00:00
fileform.c fixed bug #1874297 - Error decompressing data! Corrupted installer? 2008-02-23 16:28:23 +00:00
fileform.h update structure comments 2008-02-23 15:04:53 +00:00
lang.h RFE #1795426 - User friendly message for corrupt or incomplete installer 2007-12-29 18:05:48 +00:00
Main.c happy new year! 2007-12-22 09:41:57 +00:00
nsis.ico Updated NSIS icon 2002-09-11 02:15:44 +00:00
resource.h * PageEx - every page can be used everywhere and as many times as needed 2003-09-04 18:25:57 +00:00
resource.rc verification dialog is now never used hidden, so it can show itself using WS_VISIBLE 2007-10-03 22:08:37 +00:00
SConscript moved _NSIS_NO_INT64_SHR test to SCons/Config/ms so it'll only be called once and not for each stub and because it's a better location being a vc specific problem 2006-03-17 12:01:17 +00:00
state.h happy new year! 2007-12-22 09:41:57 +00:00
Ui.c happy new year! 2007-12-22 09:41:57 +00:00
ui.h happy new year! 2007-12-22 09:41:57 +00:00
uninst.ico This commit was generated by cvs2svn to compensate for changes in r2, 2002-08-02 10:01:35 +00:00
util.c a empty string can be caused by a path like "\boot.ini", so support that as well 2007-12-22 16:20:06 +00:00
util.h happy new year! 2007-12-22 09:41:57 +00:00