diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:25:27 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:25:27 -0700 |
| commit | b1c19ca6d82c98a8be6cd9cad7a9c5fa5e8e634e (patch) | |
| tree | f0eeb8f52d07819f417411da5104c9d743dd46de /FAQ | |
| parent | abf180a067223611620dd97dd5681df7c7fa7c9b (diff) | |
| download | zlib-1.2.3.1.tar.gz zlib-1.2.3.1.tar.bz2 zlib-1.2.3.1.zip | |
zlib 1.2.3.1v1.2.3.1
Diffstat (limited to 'FAQ')
| -rw-r--r-- | FAQ | 40 |
1 files changed, 31 insertions, 9 deletions
| @@ -77,7 +77,7 @@ The lastest zlib FAQ is at http://www.gzip.org/zlib/zlib_faq.html | |||
| 77 | 77 | ||
| 78 | 11. Can zlib handle .zip archives? | 78 | 11. Can zlib handle .zip archives? |
| 79 | 79 | ||
| 80 | Not by itself, no. See the directory contrib/minizip in the zlib | 80 | Not by itself, no. See the directory contrib/minizip in the zlib |
| 81 | distribution. | 81 | distribution. |
| 82 | 82 | ||
| 83 | 12. Can zlib handle .Z files? | 83 | 12. Can zlib handle .Z files? |
| @@ -217,10 +217,14 @@ The lastest zlib FAQ is at http://www.gzip.org/zlib/zlib_faq.html | |||
| 217 | 217 | ||
| 218 | 29. Does zlib work on MVS, OS/390, CICS, etc.? | 218 | 29. Does zlib work on MVS, OS/390, CICS, etc.? |
| 219 | 219 | ||
| 220 | We don't know for sure. We have heard occasional reports of success on | 220 | Yes, there are working ports of zlib 1.1.4 to MVS which you can find |
| 221 | these systems. If you do use it on one of these, please provide us with | 221 | here: |
| 222 | a report, instructions, and patches that we can reference when we get | 222 | |
| 223 | these questions. Thanks. | 223 | http://www.homerow.net/asm/zlib390.htm |
| 224 | http://www.homerow.net/asm/zlibLE.htm | ||
| 225 | |||
| 226 | If these are updated to more recent versions of zlib, please let us | ||
| 227 | know. Thanks. | ||
| 224 | 228 | ||
| 225 | 30. Is there some simpler, easier to read version of inflate I can look at | 229 | 30. Is there some simpler, easier to read version of inflate I can look at |
| 226 | to understand the deflate format? | 230 | to understand the deflate format? |
| @@ -271,7 +275,9 @@ The lastest zlib FAQ is at http://www.gzip.org/zlib/zlib_faq.html | |||
| 271 | http://www.ijs.si/software/snprintf/ | 275 | http://www.ijs.si/software/snprintf/ |
| 272 | 276 | ||
| 273 | Note that you should be using the most recent version of zlib. Versions | 277 | Note that you should be using the most recent version of zlib. Versions |
| 274 | 1.1.3 and before were subject to a double-free vulnerability. | 278 | 1.1.3 and before were subject to a double-free vulnerability, and version |
| 279 | 1.2.1 was subject to an access exception when decompressing invalid | ||
| 280 | compressed data. | ||
| 275 | 281 | ||
| 276 | 34. Is there a Java version of zlib? | 282 | 34. Is there a Java version of zlib? |
| 277 | 283 | ||
| @@ -292,8 +298,8 @@ The lastest zlib FAQ is at http://www.gzip.org/zlib/zlib_faq.html | |||
| 292 | performing a conditional jump that depends on an uninitialized value. | 298 | performing a conditional jump that depends on an uninitialized value. |
| 293 | Isn't that a bug? | 299 | Isn't that a bug? |
| 294 | 300 | ||
| 295 | No. That is intentional for performance reasons, and the output of | 301 | No. That is intentional for performance reasons, and the output of |
| 296 | deflate is not affected. This only started showing up recently since | 302 | deflate is not affected. This only started showing up recently since |
| 297 | zlib 1.2.x uses malloc() by default for allocations, whereas earlier | 303 | zlib 1.2.x uses malloc() by default for allocations, whereas earlier |
| 298 | versions used calloc(), which zeros out the allocated memory. | 304 | versions used calloc(), which zeros out the allocated memory. |
| 299 | 305 | ||
| @@ -333,7 +339,23 @@ The lastest zlib FAQ is at http://www.gzip.org/zlib/zlib_faq.html | |||
| 333 | In any case, the compression improvements are so modest compared to other | 339 | In any case, the compression improvements are so modest compared to other |
| 334 | more modern approaches, that it's not worth the effort to implement. | 340 | more modern approaches, that it's not worth the effort to implement. |
| 335 | 341 | ||
| 336 | 41. Can you please sign these lengthy legal documents and fax them back to us | 342 | 41. I'm having a problem with the zip functions in zlib, can you help? |
| 343 | |||
| 344 | There are no zip functions in zlib. You are probably using minizip by | ||
| 345 | Giles Vollant, which is found in the contrib directory of zlib. It is not | ||
| 346 | part of zlib. In fact none of the stuff in contrib is part of zlib. The | ||
| 347 | files in there are not supported by the zlib authors. You need to contact | ||
| 348 | the authors of the contribution for help. | ||
| 349 | |||
| 350 | 42. The match.asm code in contrib is under the GNU General Public License. | ||
| 351 | Since it's part of zlib, doesn't that mean that all of zlib falls under the | ||
| 352 | GNU GPL? | ||
| 353 | |||
| 354 | No. The files in contrib are not part of zlib. They were contributed by | ||
| 355 | other authors and are provided as a convenience to the user within the zlib | ||
| 356 | distribution. Each of the items in contrib have their own license. | ||
| 357 | |||
| 358 | 43. Can you please sign these lengthy legal documents and fax them back to us | ||
| 337 | so that we can use your software in our product? | 359 | so that we can use your software in our product? |
| 338 | 360 | ||
| 339 | No. Go away. Shoo. | 361 | No. Go away. Shoo. |
