I plan to apply the following patch to fix the issue.
Description: Make NSIS embedded inflate function compatible with zlib
The NSIS implementation of deflate deviates from the original one that
it omits 2 bytes (NLEN - the one's complement of the number of data
bytes in the block) in the header of each non-compressed block (BTYPE=00).
[For details see section 3.2.4 in RFC 1951].
Forwarded: http://sf.net/support/tracker.php?aid=2995455
Bug-Debian: http://bugs.debian.org/579407
Author: Thomas Gaugler <[email protected]>
Index: nsis-2.46/Source/zlib/INFBLOCK.C
===================================================================
--- nsis-2.46.orig/Source/zlib/INFBLOCK.C
+++ nsis-2.46/Source/zlib/INFBLOCK.C
@@ -424,7 +424,7 @@
}
break;
case LENS:
- NEEDBITS(16)
+ NEEDBITS(32)
s->sub.left = (uInt)b & 0xffff;
b = k = 0; /* dump bits */
Tracev((stderr, "inflate: stored length %u\n", s->sub.left));
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]