1*0031c6c3SXin LI 2*0031c6c3SXin LI Frequently Asked Questions about zlib 3*0031c6c3SXin LI 4*0031c6c3SXin LI 5*0031c6c3SXin LIIf your question is not there, please check the zlib home page 6*0031c6c3SXin LIhttp://zlib.net/ which may have more recent information. 7*0031c6c3SXin LIThe lastest zlib FAQ is at http://zlib.net/zlib_faq.html 8*0031c6c3SXin LI 9*0031c6c3SXin LI 10*0031c6c3SXin LI 1. Is zlib Y2K-compliant? 11*0031c6c3SXin LI 12*0031c6c3SXin LI Yes. zlib doesn't handle dates. 13*0031c6c3SXin LI 14*0031c6c3SXin LI 2. Where can I get a Windows DLL version? 15*0031c6c3SXin LI 16*0031c6c3SXin LI The zlib sources can be compiled without change to produce a DLL. See the 17*0031c6c3SXin LI file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the 18*0031c6c3SXin LI precompiled DLL are found in the zlib web site at http://zlib.net/ . 19*0031c6c3SXin LI 20*0031c6c3SXin LI 3. Where can I get a Visual Basic interface to zlib? 21*0031c6c3SXin LI 22*0031c6c3SXin LI See 23*0031c6c3SXin LI * http://marknelson.us/1997/01/01/zlib-engine/ 24*0031c6c3SXin LI * win32/DLL_FAQ.txt in the zlib distribution 25*0031c6c3SXin LI 26*0031c6c3SXin LI 4. compress() returns Z_BUF_ERROR. 27*0031c6c3SXin LI 28*0031c6c3SXin LI Make sure that before the call of compress(), the length of the compressed 29*0031c6c3SXin LI buffer is equal to the available size of the compressed buffer and not 30*0031c6c3SXin LI zero. For Visual Basic, check that this parameter is passed by reference 31*0031c6c3SXin LI ("as any"), not by value ("as long"). 32*0031c6c3SXin LI 33*0031c6c3SXin LI 5. deflate() or inflate() returns Z_BUF_ERROR. 34*0031c6c3SXin LI 35*0031c6c3SXin LI Before making the call, make sure that avail_in and avail_out are not zero. 36*0031c6c3SXin LI When setting the parameter flush equal to Z_FINISH, also make sure that 37*0031c6c3SXin LI avail_out is big enough to allow processing all pending input. Note that a 38*0031c6c3SXin LI Z_BUF_ERROR is not fatal--another call to deflate() or inflate() can be 39*0031c6c3SXin LI made with more input or output space. A Z_BUF_ERROR may in fact be 40*0031c6c3SXin LI unavoidable depending on how the functions are used, since it is not 41*0031c6c3SXin LI possible to tell whether or not there is more output pending when 42*0031c6c3SXin LI strm.avail_out returns with zero. See http://zlib.net/zlib_how.html for a 43*0031c6c3SXin LI heavily annotated example. 44*0031c6c3SXin LI 45*0031c6c3SXin LI 6. Where's the zlib documentation (man pages, etc.)? 46*0031c6c3SXin LI 47*0031c6c3SXin LI It's in zlib.h . Examples of zlib usage are in the files test/example.c 48*0031c6c3SXin LI and test/minigzip.c, with more in examples/ . 49*0031c6c3SXin LI 50*0031c6c3SXin LI 7. Why don't you use GNU autoconf or libtool or ...? 51*0031c6c3SXin LI 52*0031c6c3SXin LI Because we would like to keep zlib as a very small and simple package. 53*0031c6c3SXin LI zlib is rather portable and doesn't need much configuration. 54*0031c6c3SXin LI 55*0031c6c3SXin LI 8. I found a bug in zlib. 56*0031c6c3SXin LI 57*0031c6c3SXin LI Most of the time, such problems are due to an incorrect usage of zlib. 58*0031c6c3SXin LI Please try to reproduce the problem with a small program and send the 59*0031c6c3SXin LI corresponding source to us at [email protected] . Do not send multi-megabyte 60*0031c6c3SXin LI data files without prior agreement. 61*0031c6c3SXin LI 62*0031c6c3SXin LI 9. Why do I get "undefined reference to gzputc"? 63*0031c6c3SXin LI 64*0031c6c3SXin LI If "make test" produces something like 65*0031c6c3SXin LI 66*0031c6c3SXin LI example.o(.text+0x154): undefined reference to `gzputc' 67*0031c6c3SXin LI 68*0031c6c3SXin LI check that you don't have old files libz.* in /usr/lib, /usr/local/lib or 69*0031c6c3SXin LI /usr/X11R6/lib. Remove any old versions, then do "make install". 70*0031c6c3SXin LI 71*0031c6c3SXin LI10. I need a Delphi interface to zlib. 72*0031c6c3SXin LI 73*0031c6c3SXin LI See the contrib/delphi directory in the zlib distribution. 74*0031c6c3SXin LI 75*0031c6c3SXin LI11. Can zlib handle .zip archives? 76*0031c6c3SXin LI 77*0031c6c3SXin LI Not by itself, no. See the directory contrib/minizip in the zlib 78*0031c6c3SXin LI distribution. 79*0031c6c3SXin LI 80*0031c6c3SXin LI12. Can zlib handle .Z files? 81*0031c6c3SXin LI 82*0031c6c3SXin LI No, sorry. You have to spawn an uncompress or gunzip subprocess, or adapt 83*0031c6c3SXin LI the code of uncompress on your own. 84*0031c6c3SXin LI 85*0031c6c3SXin LI13. How can I make a Unix shared library? 86*0031c6c3SXin LI 87*0031c6c3SXin LI By default a shared (and a static) library is built for Unix. So: 88*0031c6c3SXin LI 89*0031c6c3SXin LI make distclean 90*0031c6c3SXin LI ./configure 91*0031c6c3SXin LI make 92*0031c6c3SXin LI 93*0031c6c3SXin LI14. How do I install a shared zlib library on Unix? 94*0031c6c3SXin LI 95*0031c6c3SXin LI After the above, then: 96*0031c6c3SXin LI 97*0031c6c3SXin LI make install 98*0031c6c3SXin LI 99*0031c6c3SXin LI However, many flavors of Unix come with a shared zlib already installed. 100*0031c6c3SXin LI Before going to the trouble of compiling a shared version of zlib and 101*0031c6c3SXin LI trying to install it, you may want to check if it's already there! If you 102*0031c6c3SXin LI can #include <zlib.h>, it's there. The -lz option will probably link to 103*0031c6c3SXin LI it. You can check the version at the top of zlib.h or with the 104*0031c6c3SXin LI ZLIB_VERSION symbol defined in zlib.h . 105*0031c6c3SXin LI 106*0031c6c3SXin LI15. I have a question about OttoPDF. 107*0031c6c3SXin LI 108*0031c6c3SXin LI We are not the authors of OttoPDF. The real author is on the OttoPDF web 109*0031c6c3SXin LI site: Joel Hainley, [email protected]. 110*0031c6c3SXin LI 111*0031c6c3SXin LI16. Can zlib decode Flate data in an Adobe PDF file? 112*0031c6c3SXin LI 113*0031c6c3SXin LI Yes. See http://www.pdflib.com/ . To modify PDF forms, see 114*0031c6c3SXin LI http://sourceforge.net/projects/acroformtool/ . 115*0031c6c3SXin LI 116*0031c6c3SXin LI17. Why am I getting this "register_frame_info not found" error on Solaris? 117*0031c6c3SXin LI 118*0031c6c3SXin LI After installing zlib 1.1.4 on Solaris 2.6, running applications using zlib 119*0031c6c3SXin LI generates an error such as: 120*0031c6c3SXin LI 121*0031c6c3SXin LI ld.so.1: rpm: fatal: relocation error: file /usr/local/lib/libz.so: 122*0031c6c3SXin LI symbol __register_frame_info: referenced symbol not found 123*0031c6c3SXin LI 124*0031c6c3SXin LI The symbol __register_frame_info is not part of zlib, it is generated by 125*0031c6c3SXin LI the C compiler (cc or gcc). You must recompile applications using zlib 126*0031c6c3SXin LI which have this problem. This problem is specific to Solaris. See 127*0031c6c3SXin LI http://www.sunfreeware.com for Solaris versions of zlib and applications 128*0031c6c3SXin LI using zlib. 129*0031c6c3SXin LI 130*0031c6c3SXin LI18. Why does gzip give an error on a file I make with compress/deflate? 131*0031c6c3SXin LI 132*0031c6c3SXin LI The compress and deflate functions produce data in the zlib format, which 133*0031c6c3SXin LI is different and incompatible with the gzip format. The gz* functions in 134*0031c6c3SXin LI zlib on the other hand use the gzip format. Both the zlib and gzip formats 135*0031c6c3SXin LI use the same compressed data format internally, but have different headers 136*0031c6c3SXin LI and trailers around the compressed data. 137*0031c6c3SXin LI 138*0031c6c3SXin LI19. Ok, so why are there two different formats? 139*0031c6c3SXin LI 140*0031c6c3SXin LI The gzip format was designed to retain the directory information about a 141*0031c6c3SXin LI single file, such as the name and last modification date. The zlib format 142*0031c6c3SXin LI on the other hand was designed for in-memory and communication channel 143*0031c6c3SXin LI applications, and has a much more compact header and trailer and uses a 144*0031c6c3SXin LI faster integrity check than gzip. 145*0031c6c3SXin LI 146*0031c6c3SXin LI20. Well that's nice, but how do I make a gzip file in memory? 147*0031c6c3SXin LI 148*0031c6c3SXin LI You can request that deflate write the gzip format instead of the zlib 149*0031c6c3SXin LI format using deflateInit2(). You can also request that inflate decode the 150*0031c6c3SXin LI gzip format using inflateInit2(). Read zlib.h for more details. 151*0031c6c3SXin LI 152*0031c6c3SXin LI21. Is zlib thread-safe? 153*0031c6c3SXin LI 154*0031c6c3SXin LI Yes. However any library routines that zlib uses and any application- 155*0031c6c3SXin LI provided memory allocation routines must also be thread-safe. zlib's gz* 156*0031c6c3SXin LI functions use stdio library routines, and most of zlib's functions use the 157*0031c6c3SXin LI library memory allocation routines by default. zlib's *Init* functions 158*0031c6c3SXin LI allow for the application to provide custom memory allocation routines. 159*0031c6c3SXin LI 160*0031c6c3SXin LI Of course, you should only operate on any given zlib or gzip stream from a 161*0031c6c3SXin LI single thread at a time. 162*0031c6c3SXin LI 163*0031c6c3SXin LI22. Can I use zlib in my commercial application? 164*0031c6c3SXin LI 165*0031c6c3SXin LI Yes. Please read the license in zlib.h. 166*0031c6c3SXin LI 167*0031c6c3SXin LI23. Is zlib under the GNU license? 168*0031c6c3SXin LI 169*0031c6c3SXin LI No. Please read the license in zlib.h. 170*0031c6c3SXin LI 171*0031c6c3SXin LI24. The license says that altered source versions must be "plainly marked". So 172*0031c6c3SXin LI what exactly do I need to do to meet that requirement? 173*0031c6c3SXin LI 174*0031c6c3SXin LI You need to change the ZLIB_VERSION and ZLIB_VERNUM #defines in zlib.h. In 175*0031c6c3SXin LI particular, the final version number needs to be changed to "f", and an 176*0031c6c3SXin LI identification string should be appended to ZLIB_VERSION. Version numbers 177*0031c6c3SXin LI x.x.x.f are reserved for modifications to zlib by others than the zlib 178*0031c6c3SXin LI maintainers. For example, if the version of the base zlib you are altering 179*0031c6c3SXin LI is "1.2.3.4", then in zlib.h you should change ZLIB_VERNUM to 0x123f, and 180*0031c6c3SXin LI ZLIB_VERSION to something like "1.2.3.f-zachary-mods-v3". You can also 181*0031c6c3SXin LI update the version strings in deflate.c and inftrees.c. 182*0031c6c3SXin LI 183*0031c6c3SXin LI For altered source distributions, you should also note the origin and 184*0031c6c3SXin LI nature of the changes in zlib.h, as well as in ChangeLog and README, along 185*0031c6c3SXin LI with the dates of the alterations. The origin should include at least your 186*0031c6c3SXin LI name (or your company's name), and an email address to contact for help or 187*0031c6c3SXin LI issues with the library. 188*0031c6c3SXin LI 189*0031c6c3SXin LI Note that distributing a compiled zlib library along with zlib.h and 190*0031c6c3SXin LI zconf.h is also a source distribution, and so you should change 191*0031c6c3SXin LI ZLIB_VERSION and ZLIB_VERNUM and note the origin and nature of the changes 192*0031c6c3SXin LI in zlib.h as you would for a full source distribution. 193*0031c6c3SXin LI 194*0031c6c3SXin LI25. Will zlib work on a big-endian or little-endian architecture, and can I 195*0031c6c3SXin LI exchange compressed data between them? 196*0031c6c3SXin LI 197*0031c6c3SXin LI Yes and yes. 198*0031c6c3SXin LI 199*0031c6c3SXin LI26. Will zlib work on a 64-bit machine? 200*0031c6c3SXin LI 201*0031c6c3SXin LI Yes. It has been tested on 64-bit machines, and has no dependence on any 202*0031c6c3SXin LI data types being limited to 32-bits in length. If you have any 203*0031c6c3SXin LI difficulties, please provide a complete problem report to [email protected] 204*0031c6c3SXin LI 205*0031c6c3SXin LI27. Will zlib decompress data from the PKWare Data Compression Library? 206*0031c6c3SXin LI 207*0031c6c3SXin LI No. The PKWare DCL uses a completely different compressed data format than 208*0031c6c3SXin LI does PKZIP and zlib. However, you can look in zlib's contrib/blast 209*0031c6c3SXin LI directory for a possible solution to your problem. 210*0031c6c3SXin LI 211*0031c6c3SXin LI28. Can I access data randomly in a compressed stream? 212*0031c6c3SXin LI 213*0031c6c3SXin LI No, not without some preparation. If when compressing you periodically use 214*0031c6c3SXin LI Z_FULL_FLUSH, carefully write all the pending data at those points, and 215*0031c6c3SXin LI keep an index of those locations, then you can start decompression at those 216*0031c6c3SXin LI points. You have to be careful to not use Z_FULL_FLUSH too often, since it 217*0031c6c3SXin LI can significantly degrade compression. Alternatively, you can scan a 218*0031c6c3SXin LI deflate stream once to generate an index, and then use that index for 219*0031c6c3SXin LI random access. See examples/zran.c . 220*0031c6c3SXin LI 221*0031c6c3SXin LI29. Does zlib work on MVS, OS/390, CICS, etc.? 222*0031c6c3SXin LI 223*0031c6c3SXin LI It has in the past, but we have not heard of any recent evidence. There 224*0031c6c3SXin LI were working ports of zlib 1.1.4 to MVS, but those links no longer work. 225*0031c6c3SXin LI If you know of recent, successful applications of zlib on these operating 226*0031c6c3SXin LI systems, please let us know. Thanks. 227*0031c6c3SXin LI 228*0031c6c3SXin LI30. Is there some simpler, easier to read version of inflate I can look at to 229*0031c6c3SXin LI understand the deflate format? 230*0031c6c3SXin LI 231*0031c6c3SXin LI First off, you should read RFC 1951. Second, yes. Look in zlib's 232*0031c6c3SXin LI contrib/puff directory. 233*0031c6c3SXin LI 234*0031c6c3SXin LI31. Does zlib infringe on any patents? 235*0031c6c3SXin LI 236*0031c6c3SXin LI As far as we know, no. In fact, that was originally the whole point behind 237*0031c6c3SXin LI zlib. Look here for some more information: 238*0031c6c3SXin LI 239*0031c6c3SXin LI http://www.gzip.org/#faq11 240*0031c6c3SXin LI 241*0031c6c3SXin LI32. Can zlib work with greater than 4 GB of data? 242*0031c6c3SXin LI 243*0031c6c3SXin LI Yes. inflate() and deflate() will process any amount of data correctly. 244*0031c6c3SXin LI Each call of inflate() or deflate() is limited to input and output chunks 245*0031c6c3SXin LI of the maximum value that can be stored in the compiler's "unsigned int" 246*0031c6c3SXin LI type, but there is no limit to the number of chunks. Note however that the 247*0031c6c3SXin LI strm.total_in and strm_total_out counters may be limited to 4 GB. These 248*0031c6c3SXin LI counters are provided as a convenience and are not used internally by 249*0031c6c3SXin LI inflate() or deflate(). The application can easily set up its own counters 250*0031c6c3SXin LI updated after each call of inflate() or deflate() to count beyond 4 GB. 251*0031c6c3SXin LI compress() and uncompress() may be limited to 4 GB, since they operate in a 252*0031c6c3SXin LI single call. gzseek() and gztell() may be limited to 4 GB depending on how 253*0031c6c3SXin LI zlib is compiled. See the zlibCompileFlags() function in zlib.h. 254*0031c6c3SXin LI 255*0031c6c3SXin LI The word "may" appears several times above since there is a 4 GB limit only 256*0031c6c3SXin LI if the compiler's "long" type is 32 bits. If the compiler's "long" type is 257*0031c6c3SXin LI 64 bits, then the limit is 16 exabytes. 258*0031c6c3SXin LI 259*0031c6c3SXin LI33. Does zlib have any security vulnerabilities? 260*0031c6c3SXin LI 261*0031c6c3SXin LI The only one that we are aware of is potentially in gzprintf(). If zlib is 262*0031c6c3SXin LI compiled to use sprintf() or vsprintf(), then there is no protection 263*0031c6c3SXin LI against a buffer overflow of an 8K string space (or other value as set by 264*0031c6c3SXin LI gzbuffer()), other than the caller of gzprintf() assuring that the output 265*0031c6c3SXin LI will not exceed 8K. On the other hand, if zlib is compiled to use 266*0031c6c3SXin LI snprintf() or vsnprintf(), which should normally be the case, then there is 267*0031c6c3SXin LI no vulnerability. The ./configure script will display warnings if an 268*0031c6c3SXin LI insecure variation of sprintf() will be used by gzprintf(). Also the 269*0031c6c3SXin LI zlibCompileFlags() function will return information on what variant of 270*0031c6c3SXin LI sprintf() is used by gzprintf(). 271*0031c6c3SXin LI 272*0031c6c3SXin LI If you don't have snprintf() or vsnprintf() and would like one, you can 273*0031c6c3SXin LI find a portable implementation here: 274*0031c6c3SXin LI 275*0031c6c3SXin LI http://www.ijs.si/software/snprintf/ 276*0031c6c3SXin LI 277*0031c6c3SXin LI Note that you should be using the most recent version of zlib. Versions 278*0031c6c3SXin LI 1.1.3 and before were subject to a double-free vulnerability, and versions 279*0031c6c3SXin LI 1.2.1 and 1.2.2 were subject to an access exception when decompressing 280*0031c6c3SXin LI invalid compressed data. 281*0031c6c3SXin LI 282*0031c6c3SXin LI34. Is there a Java version of zlib? 283*0031c6c3SXin LI 284*0031c6c3SXin LI Probably what you want is to use zlib in Java. zlib is already included 285*0031c6c3SXin LI as part of the Java SDK in the java.util.zip package. If you really want 286*0031c6c3SXin LI a version of zlib written in the Java language, look on the zlib home 287*0031c6c3SXin LI page for links: http://zlib.net/ . 288*0031c6c3SXin LI 289*0031c6c3SXin LI35. I get this or that compiler or source-code scanner warning when I crank it 290*0031c6c3SXin LI up to maximally-pedantic. Can't you guys write proper code? 291*0031c6c3SXin LI 292*0031c6c3SXin LI Many years ago, we gave up attempting to avoid warnings on every compiler 293*0031c6c3SXin LI in the universe. It just got to be a waste of time, and some compilers 294*0031c6c3SXin LI were downright silly as well as contradicted each other. So now, we simply 295*0031c6c3SXin LI make sure that the code always works. 296*0031c6c3SXin LI 297*0031c6c3SXin LI36. Valgrind (or some similar memory access checker) says that deflate is 298*0031c6c3SXin LI performing a conditional jump that depends on an uninitialized value. 299*0031c6c3SXin LI Isn't that a bug? 300*0031c6c3SXin LI 301*0031c6c3SXin LI No. That is intentional for performance reasons, and the output of deflate 302*0031c6c3SXin LI is not affected. This only started showing up recently since zlib 1.2.x 303*0031c6c3SXin LI uses malloc() by default for allocations, whereas earlier versions used 304*0031c6c3SXin LI calloc(), which zeros out the allocated memory. Even though the code was 305*0031c6c3SXin LI correct, versions 1.2.4 and later was changed to not stimulate these 306*0031c6c3SXin LI checkers. 307*0031c6c3SXin LI 308*0031c6c3SXin LI37. Will zlib read the (insert any ancient or arcane format here) compressed 309*0031c6c3SXin LI data format? 310*0031c6c3SXin LI 311*0031c6c3SXin LI Probably not. Look in the comp.compression FAQ for pointers to various 312*0031c6c3SXin LI formats and associated software. 313*0031c6c3SXin LI 314*0031c6c3SXin LI38. How can I encrypt/decrypt zip files with zlib? 315*0031c6c3SXin LI 316*0031c6c3SXin LI zlib doesn't support encryption. The original PKZIP encryption is very 317*0031c6c3SXin LI weak and can be broken with freely available programs. To get strong 318*0031c6c3SXin LI encryption, use GnuPG, http://www.gnupg.org/ , which already includes zlib 319*0031c6c3SXin LI compression. For PKZIP compatible "encryption", look at 320*0031c6c3SXin LI http://www.info-zip.org/ 321*0031c6c3SXin LI 322*0031c6c3SXin LI39. What's the difference between the "gzip" and "deflate" HTTP 1.1 encodings? 323*0031c6c3SXin LI 324*0031c6c3SXin LI "gzip" is the gzip format, and "deflate" is the zlib format. They should 325*0031c6c3SXin LI probably have called the second one "zlib" instead to avoid confusion with 326*0031c6c3SXin LI the raw deflate compressed data format. While the HTTP 1.1 RFC 2616 327*0031c6c3SXin LI correctly points to the zlib specification in RFC 1950 for the "deflate" 328*0031c6c3SXin LI transfer encoding, there have been reports of servers and browsers that 329*0031c6c3SXin LI incorrectly produce or expect raw deflate data per the deflate 330*0031c6c3SXin LI specification in RFC 1951, most notably Microsoft. So even though the 331*0031c6c3SXin LI "deflate" transfer encoding using the zlib format would be the more 332*0031c6c3SXin LI efficient approach (and in fact exactly what the zlib format was designed 333*0031c6c3SXin LI for), using the "gzip" transfer encoding is probably more reliable due to 334*0031c6c3SXin LI an unfortunate choice of name on the part of the HTTP 1.1 authors. 335*0031c6c3SXin LI 336*0031c6c3SXin LI Bottom line: use the gzip format for HTTP 1.1 encoding. 337*0031c6c3SXin LI 338*0031c6c3SXin LI40. Does zlib support the new "Deflate64" format introduced by PKWare? 339*0031c6c3SXin LI 340*0031c6c3SXin LI No. PKWare has apparently decided to keep that format proprietary, since 341*0031c6c3SXin LI they have not documented it as they have previous compression formats. In 342*0031c6c3SXin LI any case, the compression improvements are so modest compared to other more 343*0031c6c3SXin LI modern approaches, that it's not worth the effort to implement. 344*0031c6c3SXin LI 345*0031c6c3SXin LI41. I'm having a problem with the zip functions in zlib, can you help? 346*0031c6c3SXin LI 347*0031c6c3SXin LI There are no zip functions in zlib. You are probably using minizip by 348*0031c6c3SXin LI Giles Vollant, which is found in the contrib directory of zlib. It is not 349*0031c6c3SXin LI part of zlib. In fact none of the stuff in contrib is part of zlib. The 350*0031c6c3SXin LI files in there are not supported by the zlib authors. You need to contact 351*0031c6c3SXin LI the authors of the respective contribution for help. 352*0031c6c3SXin LI 353*0031c6c3SXin LI42. The match.asm code in contrib is under the GNU General Public License. 354*0031c6c3SXin LI Since it's part of zlib, doesn't that mean that all of zlib falls under the 355*0031c6c3SXin LI GNU GPL? 356*0031c6c3SXin LI 357*0031c6c3SXin LI No. The files in contrib are not part of zlib. They were contributed by 358*0031c6c3SXin LI other authors and are provided as a convenience to the user within the zlib 359*0031c6c3SXin LI distribution. Each item in contrib has its own license. 360*0031c6c3SXin LI 361*0031c6c3SXin LI43. Is zlib subject to export controls? What is its ECCN? 362*0031c6c3SXin LI 363*0031c6c3SXin LI zlib is not subject to export controls, and so is classified as EAR99. 364*0031c6c3SXin LI 365*0031c6c3SXin LI44. Can you please sign these lengthy legal documents and fax them back to us 366*0031c6c3SXin LI so that we can use your software in our product? 367*0031c6c3SXin LI 368*0031c6c3SXin LI No. Go away. Shoo. 369