debian/0000755000000000000000000000000013315457311007171 5ustar debian/libzzip-dev.links0000755000000000000000000000060612263027523012476 0ustar #! /usr/bin/dh-exec usr/lib/${DEB_HOST_MULTIARCH}/libzzipwrap.so usr/lib/${DEB_HOST_MULTIARCH}/libzzipwrap-0.so usr/lib/${DEB_HOST_MULTIARCH}/libzzip.so usr/lib/${DEB_HOST_MULTIARCH}/libzzip-0.so usr/lib/${DEB_HOST_MULTIARCH}/libzzipfseeko.so usr/lib/${DEB_HOST_MULTIARCH}/libzzipfseeko-0.so usr/lib/${DEB_HOST_MULTIARCH}/libzzipmmapped.so usr/lib/${DEB_HOST_MULTIARCH}/libzzipmmapped-0.so debian/zzcat.10000644000000000000000000000002712262674072010412 0ustar .so man1/zziplib-bin.1 debian/rules0000755000000000000000000000123512271317626010256 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with autoreconf override_dh_clean: dh_clean rm -rf Makefile Linux_*.d/ testdata.d/ docs/zzipdoc/*.pyc override_dh_install: # need to refresh patch and do it in debian/tmp/usr/share/man/man3 #cd $(CURDIR)/debian/libzzip-dev/usr/share/man/ \ # && tar xf $(CURDIR)/docs/zziplib-manpages.tar #cd $(CURDIR)/debian/libzzip-dev/usr/share/man/man3/ \ # && patch -p1 < $(CURDIR)/debian/man3.patch dh_install # empty dependency_libs in .la files sed -i "/dependency_libs/ s/'.*'/''/" `find debian/ -name '*.la'` get-orig-source: uscan --download-current-version --rename debian/zzdir.10000644000000000000000000000002712262674072010421 0ustar .so man1/zziplib-bin.1 debian/zziplib-bin.install0000644000000000000000000000012012262674072013010 0ustar usr/bin/zzxorcopy usr/bin/zzxordir usr/bin/zzxorcat usr/bin/zzdir usr/bin/zzcat debian/control0000644000000000000000000000446013117770340010600 0ustar Source: zziplib Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Scott Howard Build-Depends: debhelper (>= 9), pkg-config, zlib1g-dev, python, zip, dh-exec, dh-autoreconf Standards-Version: 3.9.5 Homepage: http://zziplib.sourceforge.net Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/zziplib.git Vcs-git: git://anonscm.debian.org/collab-maint/zziplib.git Package: zziplib-bin Section: utils Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: library providing read access on ZIP-archives - binaries The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. . This package contains some useful binaries to extract data from zip archives. Package: libzzip-0-13 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: library providing read access on ZIP-archives - library The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. . This package contains the zziplib runtime library. Package: libzzip-dev Section: libdevel Architecture: any Depends: libzzip-0-13 (= ${binary:Version}), ${misc:Depends} Description: library providing read access on ZIP-archives - development The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. . This package contains the header files and static library needed to compile applications that use zziplib. debian/libzzip-0-13.install0000644000000000000000000000002412262703146012616 0ustar usr/lib/*/lib*.so.* debian/watch0000644000000000000000000000006712262674072010232 0ustar version=3 http://sf.net/zziplib/zziplib-(.+)\.tar\.bz2 debian/zzxorcopy.10000644000000000000000000000002712262674072011346 0ustar .so man1/zziplib-bin.1 debian/patches/0000755000000000000000000000000013315457052010622 5ustar debian/patches/zziplib-CVE-2017-5974.patch0000644000000000000000000000205613114730241014730 0ustar Index: zziplib-0.13.62/zzip/memdisk.c =================================================================== --- zziplib-0.13.62.orig/zzip/memdisk.c +++ zziplib-0.13.62/zzip/memdisk.c @@ -216,12 +216,12 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI /* override sizes/offsets with zip64 values for largefile support */ zzip_extra_zip64 *block = (zzip_extra_zip64 *) zzip_mem_entry_extra_block(item, ZZIP_EXTRA_zip64); - if (block) + if (block && ZZIP_GET16(block->z_datasize) >= (8 + 8 + 8 + 4)) { - item->zz_usize = __zzip_get64(block->z_usize); - item->zz_csize = __zzip_get64(block->z_csize); - item->zz_offset = __zzip_get64(block->z_offset); - item->zz_diskstart = __zzip_get32(block->z_diskstart); + item->zz_usize = ZZIP_GET64(block->z_usize); + item->zz_csize = ZZIP_GET64(block->z_csize); + item->zz_offset = ZZIP_GET64(block->z_offset); + item->zz_diskstart = ZZIP_GET32(block->z_diskstart); } } /* NOTE: debian/patches/CVE-2018-7726-3.patch0000644000000000000000000000160313315446721013414 0ustar From feae4da1a5c92100c44ebfcbaaa895959cc0829b Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Thu, 15 Mar 2018 23:54:37 +0100 Subject: [PATCH] fix for zz_rootsize #41 --- zzip/zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: zziplib-0.13.62/zzip/zip.c =================================================================== --- zziplib-0.13.62.orig/zzip/zip.c 2018-06-29 11:18:39.617101733 -0400 +++ zziplib-0.13.62/zzip/zip.c 2018-06-29 11:18:39.617101733 -0400 @@ -426,7 +426,7 @@ __zzip_parse_root_directory(int fd, zzip_off64_t zz_rootseek = _disk_trailer_rootseek(trailer); __correct_rootseek(zz_rootseek, zz_rootsize, trailer); - if (zz_entries < 0 || zz_rootseek < 0 || zz_rootseek < 0) + if (zz_entries < 0 || zz_rootseek < 0 || zz_rootsize < 0) return ZZIP_CORRUPTED; hdr0 = (struct zzip_dir_hdr *) malloc(zz_rootsize); debian/patches/series0000644000000000000000000000062513315447674012053 0ustar remove_extra_z_linking.patch automake-compatibility.patch zziplib-CVE-2017-5974.patch zziplib-CVE-2017-5975.patch zziplib-CVE-2017-5976.patch zziplib-CVE-2017-5978.patch zziplib-CVE-2017-5979.patch zziplib-CVE-2017-5981.patch zziplib-unzipcat-NULL-name.patch CVE-2018-6381.patch CVE-2018-6484.patch CVE-2018-6540.patch CVE-2018-7725.patch CVE-2018-7726-1.patch CVE-2018-7726-2.patch CVE-2018-7726-3.patch debian/patches/zziplib-CVE-2017-5975.patch0000644000000000000000000000224013114730241014724 0ustar Index: zziplib-0.13.62/zzip/memdisk.c =================================================================== --- zziplib-0.13.62.orig/zzip/memdisk.c +++ zziplib-0.13.62/zzip/memdisk.c @@ -173,6 +173,8 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI return 0; /* errno=ENOMEM; */ ___ struct zzip_file_header *header = zzip_disk_entry_to_file_header(disk, entry); + if (!header) + { free(item); return 0; } /* there is a number of duplicated information in the file header * or the disk entry block. Theoretically some part may be missing * that exists in the other, ... but we will prefer the disk entry. Index: zziplib-0.13.62/zzip/mmapped.c =================================================================== --- zziplib-0.13.62.orig/zzip/mmapped.c +++ zziplib-0.13.62/zzip/mmapped.c @@ -289,6 +289,8 @@ zzip_disk_entry_to_file_header(ZZIP_DISK (disk->buffer + zzip_disk_entry_fileoffset(entry)); if (disk->buffer > file_header || file_header >= disk->endbuf) return 0; + if (ZZIP_GET32(file_header) != ZZIP_FILE_HEADER_MAGIC) + return 0; return (struct zzip_file_header *) file_header; } debian/patches/CVE-2018-7726-1.patch0000644000000000000000000000302413315446706013414 0ustar From 8f48323c181e20b7e527b8be7229d6eb1148ec5f Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Tue, 13 Mar 2018 00:23:33 +0100 Subject: [PATCH] check rootseek and rootsize to be positive #27 --- zzip/zip.c | 4 ++++ 1 file changed, 4 insertions(+) Index: zziplib-0.13.62/zzip/zip.c =================================================================== --- zziplib-0.13.62.orig/zzip/zip.c 2018-06-29 11:18:29.049075281 -0400 +++ zziplib-0.13.62/zzip/zip.c 2018-06-29 11:18:29.049075281 -0400 @@ -323,6 +323,8 @@ __zzip_fetch_disk_trailer(int fd, zzip_o trailer->zz_rootseek = zzip_disk_trailer_rootseek(orig); trailer->zz_rootsize = zzip_disk_trailer_rootsize(orig); # endif + if (trailer->zz_rootseek < 0 || trailer->zz_rootsize < 0) + return(ZZIP_CORRUPTED); // forged value __fixup_rootseek(offset + tail - mapped, trailer); /* @@ -349,6 +351,8 @@ __zzip_fetch_disk_trailer(int fd, zzip_o zzip_disk64_trailer_finalentries(orig); trailer->zz_rootseek = zzip_disk64_trailer_rootseek(orig); trailer->zz_rootsize = zzip_disk64_trailer_rootsize(orig); + if (trailer->zz_rootseek < 0 || trailer->zz_rootsize < 0) + return(ZZIP_CORRUPTED); // forged value /* * "extract data from files archived in a single zip file." * So the file offsets must be within the current ZIP archive! debian/patches/CVE-2018-7725.patch0000644000000000000000000000340213315452257013253 0ustar Backport of: From 1ba660b3300d67b8ce9f6b96bbae0b36fa2d6b06 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Tue, 13 Mar 2018 01:29:44 +0100 Subject: [PATCH] check zlib space to be within buffer #39 --- zzip/memdisk.c | 9 +++++++++ zzip/mmapped.c | 2 ++ 2 files changed, 11 insertions(+) Index: zziplib-0.13.62/zzip/memdisk.c =================================================================== --- zziplib-0.13.62.orig/zzip/memdisk.c 2018-06-29 11:47:36.033903099 -0400 +++ zziplib-0.13.62/zzip/memdisk.c 2018-06-29 11:47:55.533899358 -0400 @@ -433,11 +433,19 @@ zzip_mem_entry_fopen(ZZIP_MEM_DISK * dir file->zlib.avail_in = zzip_mem_entry_csize(entry); file->zlib.next_in = zzip_mem_entry_to_data(entry); + if (file->zlib.next_in + file->zlib.avail_in >= file->endbuf) + goto error; + if (file->zlib.next_in < file->buffer) + goto error; + if (! zzip_mem_entry_data_deflated(entry) || inflateInit2(&file->zlib, -MAX_WBITS) != Z_OK) { free (file); return 0; } return file; +error: + errno = EBADMSG; + return NULL; } zzip__new__ ZZIP_MEM_DISK_FILE * Index: zziplib-0.13.62/zzip/mmapped.c =================================================================== --- zziplib-0.13.62.orig/zzip/mmapped.c 2018-06-29 11:47:36.033903099 -0400 +++ zziplib-0.13.62/zzip/mmapped.c 2018-06-29 11:47:36.029903100 -0400 @@ -568,6 +568,9 @@ zzip_disk_entry_fopen(ZZIP_DISK * disk, if (file->zlib.next_in + file->zlib.avail_in >= disk->endbuf) { free (file); return 0; } + if (file->zlib.next_in < disk->buffer) + { free (file); return 0; } + if (! zzip_file_header_data_deflated(header) || inflateInit2(&file->zlib, -MAX_WBITS) != Z_OK) { free (file); return 0; } debian/patches/zziplib-CVE-2017-5981.patch0000644000000000000000000000103713114730241014724 0ustar Index: zziplib-0.13.62/zzip/fseeko.c =================================================================== --- zziplib-0.13.62.orig/zzip/fseeko.c +++ zziplib-0.13.62/zzip/fseeko.c @@ -311,7 +311,8 @@ zzip_entry_findfirst(FILE * disk) } else continue; - assert(0 <= root && root < mapsize); + if (root < 0 || root >= mapsize) + goto error; if (fseeko(disk, root, SEEK_SET) == -1) goto error; if (fread(disk_(entry), 1, sizeof(*disk_(entry)), disk) debian/patches/zziplib-unzipcat-NULL-name.patch0000644000000000000000000000331113114730241016634 0ustar Index: zziplib-0.13.62/bins/unzzipcat.c =================================================================== --- zziplib-0.13.62.orig/bins/unzzipcat.c +++ zziplib-0.13.62/bins/unzzipcat.c @@ -91,8 +91,11 @@ main (int argc, char ** argv) for (; entry ; entry = zzip_disk_findnext(disk, entry)) { char* name = zzip_disk_entry_strdup_name (disk, entry); - printf ("%s\n", name); - free (name); + if (name) + { + printf ("%s\n", name); + free (name); + } } return 0; } @@ -112,10 +115,13 @@ main (int argc, char ** argv) for (; entry ; entry = zzip_disk_findnext(disk, entry)) { char* name = zzip_disk_entry_strdup_name (disk, entry); - if (! fnmatch (argv[argn], name, - FNM_NOESCAPE|FNM_PATHNAME|FNM_PERIOD)) - zzip_disk_cat_file (disk, name, stdout); - free (name); + if (name) + { + if (! fnmatch (argv[argn], name, + FNM_NOESCAPE|FNM_PATHNAME|FNM_PERIOD)) + zzip_disk_cat_file (disk, name, stdout); + free (name); + } } } return 0; Index: zziplib-0.13.62/zzip/fseeko.c =================================================================== --- zziplib-0.13.62.orig/zzip/fseeko.c +++ zziplib-0.13.62/zzip/fseeko.c @@ -300,7 +300,8 @@ zzip_entry_findfirst(FILE * disk) * central directory was written directly before : */ root = mapoffs - rootsize; } - } else if (zzip_disk64_trailer_check_magic(p)) + } else if ((p + sizeof(struct zzip_disk64_trailer)) <= (buffer + mapsize) + && zzip_disk64_trailer_check_magic(p)) { struct zzip_disk64_trailer *trailer = (struct zzip_disk64_trailer *) p; debian/patches/zziplib-CVE-2017-5979.patch0000644000000000000000000000111213114730241014725 0ustar Index: zziplib-0.13.62/zzip/fseeko.c =================================================================== --- zziplib-0.13.62.orig/zzip/fseeko.c +++ zziplib-0.13.62/zzip/fseeko.c @@ -255,7 +255,7 @@ zzip_entry_findfirst(FILE * disk) return 0; /* we read out chunks of 8 KiB in the hope to match disk granularity */ ___ zzip_off_t pagesize = PAGESIZE; /* getpagesize() */ - ___ ZZIP_ENTRY *entry = malloc(sizeof(*entry)); + ___ ZZIP_ENTRY *entry = calloc(1, sizeof(*entry)); if (! entry) return 0; ___ unsigned char *buffer = malloc(pagesize); debian/patches/CVE-2018-6540.patch0000644000000000000000000000353613315451760013253 0ustar Backport of: From 72ec933663f738d8e166979aa7fd5590b2104a07 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Mon, 5 Feb 2018 13:57:49 +0100 Subject: [PATCH] need to check on endbuf for stored files #15 --- zzip/memdisk.c | 10 ++++++++-- zzip/mmapped.c | 33 +++++++++++++++++++++++++-------- 2 files changed, 33 insertions(+), 10 deletions(-) Index: zziplib-0.13.62/zzip/mmapped.c =================================================================== --- zziplib-0.13.62.orig/zzip/mmapped.c 2018-06-29 11:40:07.758195461 -0400 +++ zziplib-0.13.62/zzip/mmapped.c 2018-06-29 11:41:04.326130196 -0400 @@ -551,7 +551,12 @@ zzip_disk_entry_fopen(ZZIP_DISK * disk, file->avail = zzip_file_header_usize(header); if (! file->avail || zzip_file_header_data_stored(header)) - { file->stored = zzip_file_header_to_data (header); return file; } + { + file->stored = zzip_file_header_to_data (header); + if (file->stored + file->avail >= disk->endbuf) + { free (file); return 0; } + return file; + } file->stored = 0; file->zlib.opaque = 0; @@ -560,6 +565,9 @@ zzip_disk_entry_fopen(ZZIP_DISK * disk, file->zlib.avail_in = zzip_file_header_csize(header); file->zlib.next_in = zzip_file_header_to_data(header); + if (file->zlib.next_in + file->zlib.avail_in >= disk->endbuf) + { free (file); return 0; } + if (! zzip_file_header_data_deflated(header) || inflateInit2(&file->zlib, -MAX_WBITS) != Z_OK) { free (file); return 0; } @@ -601,6 +609,10 @@ zzip_disk_fread(void *ptr, zzip_size_t s size = file->avail; if (file->stored) { + if (file->stored + size >= file->endbuf) + { + return 0; /* ESPIPE */ + } memcpy(ptr, file->stored, size); file->stored += size; file->avail -= size; debian/patches/zziplib-CVE-2017-5978.patch0000644000000000000000000000256513114730241014741 0ustar Index: zziplib-0.13.62/zzip/memdisk.c =================================================================== --- zziplib-0.13.62.orig/zzip/memdisk.c +++ zziplib-0.13.62/zzip/memdisk.c @@ -180,7 +180,7 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI * that exists in the other, ... but we will prefer the disk entry. */ item->zz_comment = zzip_disk_entry_strdup_comment(disk, entry); - item->zz_name = zzip_disk_entry_strdup_name(disk, entry); + item->zz_name = zzip_disk_entry_strdup_name(disk, entry) ?: strdup(""); item->zz_data = zzip_file_header_to_data(header); item->zz_flags = zzip_disk_entry_get_flags(entry); item->zz_compr = zzip_disk_entry_get_compr(entry); @@ -197,7 +197,7 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI int /* */ ext2 = zzip_file_header_get_extras(header); char *_zzip_restrict ptr2 = zzip_file_header_to_extras(header); - if (ext1) + if (ext1 && ((ptr1 + ext1) < disk->endbuf)) { void *mem = malloc(ext1 + 2); item->zz_ext[1] = mem; @@ -206,7 +206,7 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI ((char *) (mem))[ext1 + 0] = 0; ((char *) (mem))[ext1 + 1] = 0; } - if (ext2) + if (ext2 && ((ptr2 + ext2) < disk->endbuf)) { void *mem = malloc(ext2 + 2); item->zz_ext[2] = mem; debian/patches/CVE-2018-7726-2.patch0000644000000000000000000000260213315446714013415 0ustar From 19c9e4dc6c5cf92a38d0d23dbccac6993f9c41be Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Tue, 13 Mar 2018 01:50:36 +0100 Subject: [PATCH] check rootseek after correction #41 --- zzip/zip.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Index: zziplib-0.13.62/zzip/zip.c =================================================================== --- zziplib-0.13.62.orig/zzip/zip.c 2018-06-29 11:18:34.357088568 -0400 +++ zziplib-0.13.62/zzip/zip.c 2018-06-29 11:18:34.357088568 -0400 @@ -1,4 +1,3 @@ - /* * Author: * Guido Draheim @@ -427,6 +426,9 @@ __zzip_parse_root_directory(int fd, zzip_off64_t zz_rootseek = _disk_trailer_rootseek(trailer); __correct_rootseek(zz_rootseek, zz_rootsize, trailer); + if (zz_entries < 0 || zz_rootseek < 0 || zz_rootseek < 0) + return ZZIP_CORRUPTED; + hdr0 = (struct zzip_dir_hdr *) malloc(zz_rootsize); if (! hdr0) return ZZIP_DIRSIZE; @@ -470,8 +472,9 @@ __zzip_parse_root_directory(int fd, # endif if (fd_map) - { d = (void*)(fd_map+zz_fd_gap+zz_offset); } /* fd_map+fd_gap==u_rootseek */ - else + { + d = (void*)(fd_map+zz_fd_gap+zz_offset); /* fd_map+fd_gap==u_rootseek */ + } else { if (io->fd.seeks(fd, zz_rootseek + zz_offset, SEEK_SET) < 0) return ZZIP_DIR_SEEK; debian/patches/automake-compatibility.patch0000644000000000000000000000326212271325623016321 0ustar Description: fix compatibility with newer versions of automake Since we want to run dh-autoreconf so that the package is always current with respect to portability to new architectures, we also need to make sure the Makefile.am works with the latest versions of automake. This requires three fixes: - fix configure.ac to not set RESOLVES to ' # ', which causes further libraries on the line to be commented out - fix duplicate references to a header in zzip/Makefile.am - fix missing dependency on install-libLTLIBRARIES in the install-exec-local target. Author: Steve Langasek === modified file 'zzip/Makefile.am' Index: zziplib/zzip/Makefile.am =================================================================== --- zziplib.orig/zzip/Makefile.am 2014-01-26 19:42:57.003717930 -0500 +++ zziplib/zzip/Makefile.am 2014-01-26 19:42:56.995717930 -0500 @@ -85,7 +85,7 @@ sed -e 's|zzip.h|zzip-io.h|' -e 's|zzip/lib.h|zzip/plugin.h|' \ $(DESTDIR)$(includedir)/zzip.h >$(DESTDIR)$(includedir)/zzip-io.h -install-exec-hook: +install-exec-hook: install-libLTLIBRARIES @ for i in . $(DESTDIR)$(libdir)/libzzip*.so.13 \ ; do test -d $$i && continue ; test -f $$i || continue \ ; lib=`basename "$$i" .so.13` \ Index: zziplib/configure.ac =================================================================== --- zziplib.orig/configure.ac 2014-01-26 19:42:57.003717930 -0500 +++ zziplib/configure.ac 2014-01-26 19:42:56.995717930 -0500 @@ -308,7 +308,7 @@ # TODO: that is for backward compatibility only fi fi - RESOLVES=" # " + RESOLVES=" " ;; esac AC_MSG_RESULT([$ZZIPLIB_LDFLAGS $RESOLVES]) AC_SUBST([ZZIPLIB_LDFLAGS]) debian/patches/remove_extra_z_linking.patch0000644000000000000000000000077712263032020016403 0ustar Description: package config file adds extra unneeded -lz Author: Scott Howard Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471065 Index: zziplib/zzip/zzip-zlib-config.pc =================================================================== --- zziplib.orig/zzip/zzip-zlib-config.pc 2014-01-06 22:44:58.808435384 -0500 +++ zziplib/zzip/zzip-zlib-config.pc 2014-01-07 12:05:15.392143950 -0500 @@ -1,4 +1,4 @@ -zlib_libs= -lz +zlib_libs= zlib_cflags= Name: zzip-zlib-config debian/patches/CVE-2018-6484.patch0000644000000000000000000000373613315440612013256 0ustar Backport of: From 0c0c9256b0903f664bca25dd8d924211f81e01d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20M=C3=B6llers?= Date: Fri, 2 Feb 2018 14:09:32 +0100 Subject: [PATCH] Reject the ZIP file and report it as corrupt if the size of the central directory and/or the offset of start of central directory point beyond the end of the ZIP file. [CVE-2018-6484] --- bins/unzzipcat-zip.c | 2 +- zzip/zip.c | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) Index: zziplib-0.13.62/zzip/zip.c =================================================================== --- zziplib-0.13.62.orig/zzip/zip.c 2018-06-29 10:26:01.849167603 -0400 +++ zziplib-0.13.62/zzip/zip.c 2018-06-29 10:26:01.849167603 -0400 @@ -325,6 +325,12 @@ __zzip_fetch_disk_trailer(int fd, zzip_o # endif __fixup_rootseek(offset + tail - mapped, trailer); + /* + * "extract data from files archived in a single zip file." + * So the file offsets must be within the current ZIP archive! + */ + if (trailer->zz_rootseek >= filesize || (trailer->zz_rootseek + trailer->zz_rootsize) >= filesize) + return(ZZIP_CORRUPTED); { return(0); } } else if ((*tail == 'P') && end - tail >= @@ -343,6 +349,12 @@ __zzip_fetch_disk_trailer(int fd, zzip_o zzip_disk64_trailer_finalentries(orig); trailer->zz_rootseek = zzip_disk64_trailer_rootseek(orig); trailer->zz_rootsize = zzip_disk64_trailer_rootsize(orig); + /* + * "extract data from files archived in a single zip file." + * So the file offsets must be within the current ZIP archive! + */ + if (trailer->zz_rootseek >= filesize || (trailer->zz_rootseek + trailer->zz_rootsize) >= filesize) + return(ZZIP_CORRUPTED); { return(0); } # endif } debian/patches/CVE-2018-6381.patch0000644000000000000000000000235413315440263013247 0ustar Backport of: From a803559fa9194be895422ba3684cf6309b6bb598 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Thu, 1 Feb 2018 12:27:49 +0100 Subject: [PATCH] merge CVE-2018-6381.patch from @jmoellers #12 --- zzip/memdisk.c | 8 ++++++++ 1 file changed, 8 insertions(+) Index: zziplib-0.13.62/zzip/memdisk.c =================================================================== --- zziplib-0.13.62.orig/zzip/memdisk.c 2018-06-29 10:14:23.655723586 -0400 +++ zziplib-0.13.62/zzip/memdisk.c 2018-06-29 10:22:07.844686103 -0400 @@ -191,6 +191,16 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI item->zz_diskstart = zzip_disk_entry_get_diskstart(entry); item->zz_filetype = zzip_disk_entry_get_filetype(entry); + /* + * If the file is uncompressed, zz_csize and zz_usize should be the same + * If they are not, we cannot guarantee that either is correct, so ... + */ + if (item->zz_compr == ZZIP_IS_STORED && item->zz_csize != item->zz_usize) + { + free(item); + return 0; + } + { /* copy the extra blocks to memory as well */ int /* */ ext1 = zzip_disk_entry_get_extras(entry); char *_zzip_restrict ptr1 = zzip_disk_entry_to_extras(entry); debian/patches/zziplib-CVE-2017-5976.patch0000644000000000000000000000421513114730241014731 0ustar Index: zziplib-0.13.62/zzip/memdisk.c =================================================================== --- zziplib-0.13.62.orig/zzip/memdisk.c +++ zziplib-0.13.62/zzip/memdisk.c @@ -201,6 +201,7 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI { void *mem = malloc(ext1 + 2); item->zz_ext[1] = mem; + item->zz_extlen[1] = ext1 + 2; memcpy(mem, ptr1, ext1); ((char *) (mem))[ext1 + 0] = 0; ((char *) (mem))[ext1 + 1] = 0; @@ -209,6 +210,7 @@ zzip_mem_entry_new(ZZIP_DISK * disk, ZZI { void *mem = malloc(ext2 + 2); item->zz_ext[2] = mem; + item->zz_extlen[2] = ext2 + 2; memcpy(mem, ptr2, ext2); ((char *) (mem))[ext2 + 0] = 0; ((char *) (mem))[ext2 + 1] = 0; @@ -245,8 +247,10 @@ zzip_mem_entry_extra_block(ZZIP_MEM_ENTR while (1) { ZZIP_EXTRA_BLOCK *ext = entry->zz_ext[i]; - if (ext) + if (ext && (entry->zz_extlen[i] >= zzip_extra_block_headerlength)) { + char *endblock = (char *)ext + entry->zz_extlen[i]; + while (*(short *) (ext->z_datatype)) { if (datatype == zzip_extra_block_get_datatype(ext)) @@ -257,6 +261,10 @@ zzip_mem_entry_extra_block(ZZIP_MEM_ENTR e += zzip_extra_block_headerlength; e += zzip_extra_block_get_datasize(ext); ext = (void *) e; + if (e >= endblock) + { + break; + } ____; } } Index: zziplib-0.13.62/zzip/memdisk.h =================================================================== --- zziplib-0.13.62.orig/zzip/memdisk.h +++ zziplib-0.13.62/zzip/memdisk.h @@ -66,6 +66,7 @@ struct _zzip_mem_entry { int zz_filetype; /* (from "z_filetype") */ char* zz_comment; /* zero-terminated (from "comment") */ ZZIP_EXTRA_BLOCK* zz_ext[3]; /* terminated by null in z_datatype */ + int zz_extlen[3]; /* length of zz_ext[i] in bytes */ }; /* the extra blocks are NOT converted */ #define _zzip_mem_disk_findfirst(_d_) ((_d_)->list) debian/zziplib-bin.manpages0000644000000000000000000000015212262674072013142 0ustar debian/zziplib-bin.1 debian/zzcat.1 debian/zzdir.1 debian/zzxorcat.1 debian/zzxordir.1 debian/zzxorcopy.1 debian/compat0000644000000000000000000000000212262674257010401 0ustar 9 debian/zzxordir.10000644000000000000000000000002712262674072011152 0ustar .so man1/zziplib-bin.1 debian/zzxorcat.10000644000000000000000000000002712262674072011143 0ustar .so man1/zziplib-bin.1 debian/copyright0000644000000000000000000001323212262674072011132 0ustar This package was debianized by Aurelien Jarno on Sat, 17 Apr 2004 21:09:27 +0200. It was downloaded from http://zziplib.sourceforge.net Upstream Author: Guido Draheim Copyright: Copyright (c) 1999,2000,2001,2002,2003 Guido Draheim License: THE ZZIP LICENSE All rights on the project sources are reserved. use freely under the restrictions of the Lesser GNU General Public License or the exceptions described in the following sections that offer additional rules foremost for static linking of the library into other software parts. * LGPL clarifications The project material has not been cross licensed with the Free Software Foundation (FSF) and it will not do at any point. The FSF has written the original Lesser GNU General Public License (LGPL) which is the main opensource license used by this project. The FSF has no copyright on the sources. All rights to the project sources are reserved and the copyright holders are entitled to negotiate other licenses with interested parties. The LGPL is used as the General Public License that can be used without any special license agreement with the copyright holders. The license holders feel that sometimes the LGPL is a bit too restrictive but nonetheless good to protect the freedom of this software. Feel free to contact us on any special permission you need for your opensource project or some form of commercial software. In general, special license agreements will only be made if they benefit the creation of free software including donations to projects and non-profit organization promoting free software (from which one can generally get a tax reduction offer). Regarding example programs you will find a notice in the source header that they are not under LGPL but the ZLIB license to allow you to derive your own programs freely from these source code parts. * additional static linking 1) Static Linking Exception The LGPL describes ways to combine the project sources with other work not under the same license - the programmers do generally call it linking and separate it by their link time into dynamic linking and static linking. The LGPL ensures that the final recipient of a combined work can relink a combined work, including a rule in section 6 to allow shipping of static linked program binaries. The rules in section 6 of the LGPL are often inconvenient and not useful to promote and protect the opensource character of this project. The recepient relinking freedom can be dropped as an extension to the LGPL rules, provided the following rules apply. Note that these rules only apply to static linking and as an extension to section 6 and do not touch any other part of the LGPL. 2) OSI-approved Opensource Projects You may static link with any opensource project material which is under an OSI-approved license. (general-opensource). You may static link with any project material under a license derived from an OSI-approved license by removing restrictions including the removal of restrictions under certain explicit conditions that can be fulfilled by all possible licensees in a way that the license can be possibly OSI-approved later on. (opensource-like). A project that applies to these rules can even ship with modified sources of the project provided that the modifications are still under LGPL and these exceptions. (merge-back-acceptance). This rule is made under the assumption that relinking is not required if the combined work can be derived from their pristine sources made available to the final recipient. (i-am-no-lawyer). 3) Published And Supported Derivative Work Any software, including commercial applications, may static link with a modified derivate of this project when ALL of the following conditions are met which are extracted from the Mozilla Public License 1.0, and called section 3.2 and 3.3. over there - these will require you to redistribute the modified sources. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. 3.2. Availability of Source Code. Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. 3.3. Description of Modifications. You must cause all Covered Code to which you contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. On Debian GNU/Linux systems, the complete text of the GNU Library General Public License can be found in `/usr/share/common-licenses/LGPL-2' debian/libzzip-dev.install0000644000000000000000000000014512267323512013020 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.la usr/lib/*/lib*.so usr/lib/*/pkgconfig/* usr/share/* debian/zziplib-bin.links0000644000000000000000000000052412263044446012467 0ustar usr/share/man/man1/zziplib-bin.1.gz usr/share/man/man1/zzcat.1.gz usr/share/man/man1/zziplib-bin.1.gz usr/share/man/man1/zzdir.1.gz usr/share/man/man1/zziplib-bin.1.gz usr/share/man/man1/zzxorcat.1.gz usr/share/man/man1/zziplib-bin.1.gz usr/share/man/man1/zzxordir.1.gz usr/share/man/man1/zziplib-bin.1.gz usr/share/man/man1/zzxorcopy.1.gz debian/source/0000755000000000000000000000000012262674330010473 5ustar debian/source/format0000644000000000000000000000001412262674330011701 0ustar 3.0 (quilt) debian/man3.patch0000644000000000000000000010372312262674072011063 0ustar diff -Nur man3.old/zzip_closedir.3 man3.new/zzip_closedir.3 --- man3.old/zzip_closedir.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_closedir.3 2009-06-07 02:09:10.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_compr_str.3 man3.new/zzip_compr_str.3 --- man3.old/zzip_compr_str.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_compr_str.3 2009-06-07 02:09:10.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_dir_alloc_ext_io.3 man3.new/zzip_dir_alloc_ext_io.3 --- man3.old/zzip_dir_alloc_ext_io.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_dir_alloc_ext_io.3 2009-06-07 02:25:57.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,8 @@ .ft .fam C .HP \w'ZZIP_DIR\ *\ zzip_dir_alloc_ext_io('u -.BI "ZZIP_DIR * zzip_dir_alloc_ext_io((zzip_strings_t\ *\ ext,\ const\ zzip_plugin_io_t\ io));" +.BI "ZZIP_DIR * zzip_dir_alloc_ext_io((zzip_strings_t\ *\ ext," +.BI " \ const\ zzip_plugin_io_t\ io));" .fam .fam C .HP \w'ZZIP_DIR\ *\ zzip_dir_alloc('u diff -Nur man3.old/zzip_dir_fdopen.3 man3.new/zzip_dir_fdopen.3 --- man3.old/zzip_dir_fdopen.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_dir_fdopen.3 2009-06-07 02:52:21.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -185,7 +185,10 @@ .fam .fam C .HP \w'ZZIP_DIR\ *\ zzip_dir_fdopen_ext_io('u -.BI "ZZIP_DIR * zzip_dir_fdopen_ext_io((int\ fd,\ zzip_error_t\ *\ errcode_p,\ zzip_strings_t\ *\ ext,\ const\ zzip_plugin_io_t\ io));" +.BI "ZZIP_DIR * zzip_dir_fdopen_ext_io((int\ fd," +.BI " zzip_error_t\ *\ errcode_p," +.BI " zzip_strings_t\ *\ ext," +.BI " const\ zzip_plugin_io_t\ io));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_dir_free.3 man3.new/zzip_dir_free.3 --- man3.old/zzip_dir_free.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_dir_free.3 2009-06-07 02:09:10.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_dirhandle.3 man3.new/zzip_dirhandle.3 --- man3.old/zzip_dirhandle.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_dirhandle.3 2009-06-07 02:09:10.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -167,7 +167,7 @@ .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "Name" -zzip_dirhandle, zzip_dirfd \- +zzip_dirhandle, zzip_dirfd \- \&.\&.\&. .SH "Synopsis" .sp .ft B diff -Nur man3.old/zzip_dir_open.3 man3.new/zzip_dir_open.3 --- man3.old/zzip_dir_open.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_dir_open.3 2009-06-07 02:52:47.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -185,7 +185,9 @@ .fam .fam C .HP \w'ZZIP_DIR\ *\ zzip_dir_open_ext_io('u -.BI "ZZIP_DIR * zzip_dir_open_ext_io((zzip_char_t\ *\ filename,\ zzip_error_t\ *\ e,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));" +.BI "ZZIP_DIR * zzip_dir_open_ext_io((zzip_char_t\ *\ filename," +.BI " zzip_error_t\ *\ e,\ zzip_strings_t\ *\ ext," +.BI " zzip_plugin_io_t\ io));" .fam .fam C .HP \w'int\ zzip_dir_read('u diff -Nur man3.old/zzip_dir_stat.3 man3.new/zzip_dir_stat.3 --- man3.old/zzip_dir_stat.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_dir_stat.3 2009-06-07 02:27:29.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,8 @@ .ft .fam C .HP \w'int\ zzip_dir_stat('u -.BI "int zzip_dir_stat((ZZIP_DIR\ *\ dir,\ zzip_char_t\ *\ name,\ ZZIP_STAT\ *\ zs,\ int\ flags));" +.BI "int zzip_dir_stat((ZZIP_DIR\ *\ dir,\ zzip_char_t\ *\ name," +.BI " \ ZZIP_STAT\ *\ zs,\ int\ flags));" .fam .fam C .HP \w'int\ zzip_file_stat('u diff -Nur man3.old/zzip_disk_entry_to_data.3 man3.new/zzip_disk_entry_to_data.3 --- man3.old/zzip_disk_entry_to_data.3 2009-05-24 20:36:44.000000000 +0800 +++ man3.new/zzip_disk_entry_to_data.3 2009-06-07 11:20:54.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -180,20 +180,24 @@ .ps +1 .ft .fam C -.HP \w'zzip_byte_t\ *\ zzip_disk_entry_to_data('u -.BI "zzip_byte_t * zzip_disk_entry_to_data((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *\ entry));" +.BI "zzip_byte_t * zzip_disk_entry_to_data((" +.BI " ZZIP_DISK\ *\ disk," +.BI " struct\ zzip_disk_entry\ *\ entry));" .fam .fam C -.HP \w'struct\ zzip_file_header\ *\ zzip_disk_entry_to_file_header('u -.BI "struct zzip_file_header * zzip_disk_entry_to_file_header((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));" +.BI "struct zzip_file_header" *zzip_disk_entry_to_file_header"((" +.BI " ZZIP_DISK\ *\ disk," +.BI " struct\ zzip_disk_entry\ *\ entry));" .fam .fam C -.HP \w'zzip__new__\ char\ *\ zzip_disk_entry_strdup_name('u -.BI "zzip__new__ char * zzip_disk_entry_strdup_name((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));" +.BI "zzip__new__ char * zzip_disk_entry_strdup_name((" +.BI " ZZIP_DISK\ *\ disk," +.BI " struct\ zzip_disk_entry\ *\ entry));" .fam .fam C -.HP \w'zzip__new__\ char\ *\ zzip_disk_entry_strdup_comment('u -.BI "zzip__new__ char * zzip_disk_entry_strdup_comment((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));" +.BI "zzip__new__ char * zzip_disk_entry_strdup_comment((" +.BI " ZZIP_DISK\ *\ disk," +.BI " struct\ zzip_disk_entry\ *\ entry));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_disk_findfile.3 man3.new/zzip_disk_findfile.3 --- man3.old/zzip_disk_findfile.3 2009-05-24 20:36:44.000000000 +0800 +++ man3.new/zzip_disk_findfile.3 2009-06-07 03:37:14.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,12 @@ .ft .fam C .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findfile('u -.BI "struct zzip_disk_entry * zzip_disk_findfile((ZZIP_DISK\ *\ disk,\ char\ *filename,\ struct\ zzip_disk_entry\ *after,\ zzip_strcmp_fn_t\ compare));" +.BI "struct zzip_disk_entry * zzip_disk_findfile((" +.BI " ZZIP_DISK\ *\ disk," +.BI " char\ *filename," +.BI " struct\ zzip_disk_entry" +.BI " *after," +.BI " zzip_strcmp_fn_t\ compare));" .fam .fam C .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findfirst('u @@ -189,11 +194,20 @@ .fam .fam C .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findnext('u -.BI "struct zzip_disk_entry * zzip_disk_findnext((ZZIP_DISK\ *\ disk,\ struct\ zzip_disk_entry\ *entry));" +.BI "struct zzip_disk_entry * zzip_disk_findnext((" +.BI " ZZIP_DISK\ *\ disk," +.BI " struct\ zzip_disk_entry" +.BI " *entry));" .fam .fam C .HP \w'struct\ zzip_disk_entry\ *\ zzip_disk_findmatch('u -.BI "struct zzip_disk_entry * zzip_disk_findmatch((ZZIP_DISK\ *\ disk,\ char\ *filespec,\ struct\ zzip_disk_entry\ *after,\ zzip_fnmatch_fn_t\ compare,\ int\ flags));" +.BI "struct zzip_disk_entry * zzip_disk_findmatch((" +.BI " ZZIP_DISK\ *\ disk," +.BI " char\ *filespec," +.BI " struct\ zzip_disk_entry" +.BI " *after," +.BI " zzip_fnmatch_fn_t\ compare," +.BI " int\ flags));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_disk_fopen.3 man3.new/zzip_disk_fopen.3 --- man3.old/zzip_disk_fopen.3 2009-05-24 20:36:44.000000000 +0800 +++ man3.new/zzip_disk_fopen.3 2009-06-07 03:32:10.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,15 +181,23 @@ .ft .fam C .HP \w'zzip__new__\ ZZIP_DISK_FILE\ *\ zzip_disk_fopen('u -.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_fopen((ZZIP_DISK\ *\ disk,\ char\ *filename));" +.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_fopen((" +.BI " ZZIP_DISK\ *\ disk," +.BI " char\ *filename));" .fam .fam C .HP \w'zzip__new__\ ZZIP_DISK_FILE\ *\ zzip_disk_entry_fopen('u -.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_entry_fopen((ZZIP_DISK\ *\ disk,\ ZZIP_DISK_ENTRY\ *\ entry));" +.BI "zzip__new__ ZZIP_DISK_FILE * zzip_disk_entry_fopen((" +.BI " ZZIP_DISK\ *\ disk," +.BI " ZZIP_DISK_ENTRY" +.BI " *entry));" .fam .fam C .HP \w'zzip_size_t\ zzip_disk_fread('u -.BI "zzip_size_t zzip_disk_fread((void\ *ptr,\ zzip_size_t\ sized,\ zzip_size_t\ nmemb,\ ZZIP_DISK_FILE\ *\ file));" +.BI "zzip_size_t zzip_disk_fread((void\ *ptr," +.BI " zzip_size_t\ sized," +.BI " zzip_size_t\ nmemb," +.BI " ZZIP_DISK_FILE\ *file));" .fam .fam C .HP \w'int\ zzip_disk_fclose('u diff -Nur man3.old/zzip_disk_mmap.3 man3.new/zzip_disk_mmap.3 --- man3.old/zzip_disk_mmap.3 2009-05-24 20:36:44.000000000 +0800 +++ man3.new/zzip_disk_mmap.3 2009-06-07 02:29:44.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -185,7 +185,8 @@ .fam .fam C .HP \w'int\ zzip_disk_init('u -.BI "int zzip_disk_init((ZZIP_DISK\ *\ disk,\ void\ *buffer,\ zzip_size_t\ buflen));" +.BI "int zzip_disk_init((ZZIP_DISK\ *\ disk,\ void\ *buffer," +.BI " \ zzip_size_t\ buflen));" .fam .fam C .HP \w'zzip__new__\ ZZIP_DISK\ *\ zzip_disk_new('u diff -Nur man3.old/zzip_entry_data_offset.3 man3.new/zzip_entry_data_offset.3 --- man3.old/zzip_entry_data_offset.3 2009-05-24 20:36:57.000000000 +0800 +++ man3.new/zzip_entry_data_offset.3 2009-06-07 03:17:59.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -185,7 +185,10 @@ .fam .fam C .HP \w'static\ zzip_off_t\ zzip_entry_fread_file_header('u -.BI "static zzip_off_t zzip_entry_fread_file_header((ZZIP_ENTRY\ *\ entry,\ struct\ zzip_file_header\ *file_header));" +.BI "static zzip_off_t zzip_entry_fread_file_header((" +.BI " ZZIP_ENTRY\ *\ entry," +.BI " struct\ zzip_file_header" +.BI " *file_header));" .fam .fam C .HP \w'zzip__new__\ char\ *\ zzip_entry_strdup_name('u diff -Nur man3.old/zzip_entry_findfile.3 man3.new/zzip_entry_findfile.3 --- man3.old/zzip_entry_findfile.3 2009-05-24 20:36:57.000000000 +0800 +++ man3.new/zzip_entry_findfile.3 2009-06-07 11:24:02.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -180,24 +180,30 @@ .ps +1 .ft .fam C -.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findfile('u -.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findfile((FILE\ *\ disk,\ char\ *filename,\ ZZIP_ENTRY\ *\ _zzip_restrict\ entry,\ zzip_strcmp_fn_t\ compare));" +.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findfile((" +.BI " FILE\ *\ disk," +.BI " char\ *filename," +.BI " ZZIP_ENTRY\ *" +.BI " _zzip_restrict entry," +.BI " zzip_strcmp_fn_t" +.BI " compare));" .fam .fam C -.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findfirst('u .BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findfirst((FILE\ *\ disk));" .fam .fam C -.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findnext('u -.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findnext((ZZIP_ENTRY\ *\ _zzip_restrict\ entry));" +.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findnext((" +.BI " ZZIP_ENTRY" +.BI " *_zzip_restrict entry));" .fam .fam C -.HP \w'int\ zzip_entry_free('u .BI "int zzip_entry_free((ZZIP_ENTRY\ *\ entry));" .fam .fam C -.HP \w'zzip__new__\ ZZIP_ENTRY\ *\ zzip_entry_findmatch('u -.BI "zzip__new__ ZZIP_ENTRY * zzip_entry_findmatch((FILE\ *\ disk,\ char\ *filespec,\ ZZIP_ENTRY\ *\ _zzip_restrict\ entry,\ zzip_fnmatch_fn_t\ compare,\ int\ flags));" +.BI "zzip__new__ ZZIP_ENTRY" *zzip_entry_findmatch "((" +.BI " FILE" *disk ", char" *filespec " ," +.BI " ZZIP_ENTRY" *_zzip_restrict entry "," +.BI " zzip_fnmatch_fn_t" compare ", int" flags"));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_entry_fopen.3 man3.new/zzip_entry_fopen.3 --- man3.old/zzip_entry_fopen.3 2009-05-24 20:36:57.000000000 +0800 +++ man3.new/zzip_entry_fopen.3 2009-06-07 03:33:32.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,15 +181,22 @@ .ft .fam C .HP \w'zzip__new__\ ZZIP_ENTRY_FILE\ *\ zzip_entry_fopen('u -.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_fopen((ZZIP_ENTRY\ *\ entry,\ int\ takeover));" +.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_fopen((" +.BI " ZZIP_ENTRY\ *\ entry," +.BI " int\ takeover));" .fam .fam C .HP \w'zzip__new__\ ZZIP_ENTRY_FILE\ *\ zzip_entry_ffile('u -.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_ffile((FILE\ *\ disk,\ char\ *filename));" +.BI "zzip__new__ ZZIP_ENTRY_FILE * zzip_entry_ffile((" +.BI " FILE\ *\ disk," +.BI " char\ *filename));" .fam .fam C .HP \w'zzip_size_t\ zzip_entry_fread('u -.BI "zzip_size_t zzip_entry_fread((void\ *ptr,\ zzip_size_t\ sized,\ zzip_size_t\ nmemb,\ ZZIP_ENTRY_FILE\ *\ file));" +.BI "zzip_size_t zzip_entry_fread((void\ *ptr," +.BI " zzip_size_t\ sized," +.BI " zzip_size_t\ nmemb," +.BI " ZZIP_ENTRY_FILE\ *file));" .fam .fam C .HP \w'int\ zzip_entry_fclose('u diff -Nur man3.old/zzip_errno.3 man3.new/zzip_errno.3 --- man3.old/zzip_errno.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_errno.3 2009-06-07 02:09:11.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_error.3 man3.new/zzip_error.3 --- man3.old/zzip_error.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_error.3 2009-06-07 02:09:11.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -167,7 +167,7 @@ .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "Name" -zzip_error, zzip_seterror \- +zzip_error, zzip_seterror \- \&.\&.\&. .SH "Synopsis" .sp .ft B diff -Nur man3.old/zzip_fclose.3 man3.new/zzip_fclose.3 --- man3.old/zzip_fclose.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_fclose.3 2009-06-07 02:09:11.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/__zzip_fetch_disk_trailer.3 man3.new/__zzip_fetch_disk_trailer.3 --- man3.old/__zzip_fetch_disk_trailer.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/__zzip_fetch_disk_trailer.3 2009-06-07 03:13:42.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,11 @@ .ft .fam C .HP \w'int\ __zzip_fetch_disk_trailer('u -.BI "int __zzip_fetch_disk_trailer((int\ fd,\ zzip_off_t\ filesize,\ struct\ _disk_trailer\ *_zzip_restrict\ trailer,\ zzip_plugin_io_t\ io));" +.BI "int __zzip_fetch_disk_trailer((int\ fd," +.BI " zzip_off_t\ filesize," +.BI " struct\ _disk_trailer" +.BI " *_zzip_restrict\ trailer," +.BI " zzip_plugin_io_t\ io));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_file_close.3 man3.new/zzip_file_close.3 --- man3.old/zzip_file_close.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_file_close.3 2009-06-07 02:09:11.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_file_open.3 man3.new/zzip_file_open.3 --- man3.old/zzip_file_open.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_file_open.3 2009-06-07 02:32:03.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,8 @@ .ft .fam C .HP \w'ZZIP_FILE\ *\ zzip_file_open('u -.BI "ZZIP_FILE * zzip_file_open((ZZIP_DIR\ *\ dir,\ zzip_char_t\ *\ name,\ int\ o_mode));" +.BI "ZZIP_FILE * zzip_file_open((ZZIP_DIR\ *\ dir," +.BI " \ zzip_char_t\ *\ name,\ int\ o_mode));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_file_read.3 man3.new/zzip_file_read.3 --- man3.old/zzip_file_read.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_file_read.3 2009-06-07 02:32:26.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,8 @@ .ft .fam C .HP \w'zzip_ssize_t\ zzip_file_read('u -.BI "zzip_ssize_t zzip_file_read((ZZIP_FILE\ *\ fp,\ void\ *buf,\ zzip_size_t\ len));" +.BI "zzip_ssize_t zzip_file_read((ZZIP_FILE\ *\ fp," +.BI " \ void\ *buf,\ zzip_size_t\ len));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_file_real.3 man3.new/zzip_file_real.3 --- man3.old/zzip_file_real.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_file_real.3 2009-06-07 02:09:11.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_fopen.3 man3.new/zzip_fopen.3 --- man3.old/zzip_fopen.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_fopen.3 2009-06-07 02:32:45.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -167,7 +167,7 @@ .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "Name" -zzip_fopen, zzip_freopen \- +zzip_fopen, zzip_freopen \- \&.\&.\&. .SH "Synopsis" .sp .ft B @@ -185,7 +185,8 @@ .fam .fam C .HP \w'ZZIP_FILE\ *\ zzip_freopen('u -.BI "ZZIP_FILE * zzip_freopen((zzip_char_t\ *\ filename,\ zzip_char_t\ *\ mode,\ ZZIP_FILE\ *\ stream));" +.BI "ZZIP_FILE * zzip_freopen((zzip_char_t\ *\ filename," +.BI " \ zzip_char_t\ *\ mode,\ ZZIP_FILE\ *\ stream));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_inflate_init.3 man3.new/zzip_inflate_init.3 --- man3.old/zzip_inflate_init.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_inflate_init.3 2009-06-07 02:33:09.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,8 @@ .ft .fam C .HP \w'static\ int\ zzip_inflate_init('u -.BI "static int zzip_inflate_init((ZZIP_FILE\ *\ fp,\ struct\ zzip_dir_hdr\ *hdr));" +.BI "static int zzip_inflate_init((ZZIP_FILE\ *\ fp," +.BI " \ struct\ zzip_dir_hdr\ *hdr));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_init_io.3 man3.new/zzip_init_io.3 --- man3.old/zzip_init_io.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_init_io.3 2009-06-07 02:09:11.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_open.3 man3.new/zzip_open.3 --- man3.old/zzip_open.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_open.3 2009-06-07 02:57:08.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -185,11 +185,17 @@ .fam .fam C .HP \w'ZZIP_FILE\ *\ zzip_open_ext_io('u -.BI "ZZIP_FILE * zzip_open_ext_io((zzip_char_t\ *\ filename,\ int\ o_flags,\ int\ o_modes,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));" +.BI "ZZIP_FILE * zzip_open_ext_io((zzip_char_t\ *\ filename," +.BI " int\ o_flags,\ int\ o_modes," +.BI " zzip_strings_t\ *\ ext," +.BI " zzip_plugin_io_t\ io));" .fam .fam C .HP \w'ZZIP_FILE\ *\ zzip_open_shared_io('u -.BI "ZZIP_FILE * zzip_open_shared_io((ZZIP_FILE\ *\ stream,\ zzip_char_t\ *\ filename,\ int\ o_flags,\ int\ o_modes,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));" +.BI "ZZIP_FILE * zzip_open_shared_io((ZZIP_FILE\ *\ stream," +.BI " zzip_char_t\ *\ filename,\ int\ o_flags," +.BI " int\ o_modes,\ zzip_strings_t\ *\ ext," +.BI " zzip_plugin_io_t\ io));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_opendir.3 man3.new/zzip_opendir.3 --- man3.old/zzip_opendir.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_opendir.3 2009-06-07 02:34:30.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -185,7 +185,9 @@ .fam .fam C .HP \w'ZZIP_DIR\ *\ zzip_opendir_ext_io('u -.BI "ZZIP_DIR * zzip_opendir_ext_io((zzip_char_t\ *\ filename,\ int\ o_modes,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));" +.BI "ZZIP_DIR * zzip_opendir_ext_io((zzip_char_t\ *\ filename," +.BI " \ int\ o_modes,\ zzip_strings_t\ *\ ext," +.BI " \ zzip_plugin_io_t\ io));" .fam .SH "Description" .PP diff -Nur man3.old/__zzip_parse_root_directory.3 man3.new/__zzip_parse_root_directory.3 --- man3.old/__zzip_parse_root_directory.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/__zzip_parse_root_directory.3 2009-06-07 02:42:01.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,10 @@ .ft .fam C .HP \w'int\ __zzip_parse_root_directory('u -.BI "int __zzip_parse_root_directory((int\ fd,\ struct\ _disk_trailer\ *trailer,\ struct\ zzip_dir_hdr\ **hdr_return,\ zzip_plugin_io_t\ io));" +.BI "int __zzip_parse_root_directory((int\ fd," +.BI " \ struct\ _disk_trailer\ *trailer," +.BI " \ struct\ zzip_dir_hdr\ **hdr_return," +.BI " \ zzip_plugin_io_t\ io));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_read.3 man3.new/zzip_read.3 --- man3.old/zzip_read.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_read.3 2009-06-07 02:34:54.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -185,7 +185,8 @@ .fam .fam C .HP \w'zzip_size_t\ zzip_fread('u -.BI "zzip_size_t zzip_fread((void\ *ptr,\ zzip_size_t\ size,\ zzip_size_t\ nmemb,\ ZZIP_FILE\ *\ file));" +.BI "zzip_size_t zzip_fread((void\ *ptr,\ zzip_size_t\ size," +.BI " \ zzip_size_t\ nmemb,\ ZZIP_FILE\ *\ file));" .fam .SH "Description" .PP diff -Nur man3.old/zzip_readdir.3 man3.new/zzip_readdir.3 --- man3.old/zzip_readdir.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_readdir.3 2009-06-07 02:09:11.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_rewind.3 man3.new/zzip_rewind.3 --- man3.old/zzip_rewind.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_rewind.3 2009-06-07 02:09:12.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_rewinddir.3 man3.new/zzip_rewinddir.3 --- man3.old/zzip_rewinddir.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_rewinddir.3 2009-06-07 02:09:12.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -167,7 +167,7 @@ .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "Name" -zzip_rewinddir, zzip_telldir, zzip_seekdir \- +zzip_rewinddir, zzip_telldir, zzip_seekdir \- \&.\&.\&. .SH "Synopsis" .sp .ft B diff -Nur man3.old/zzip_seek.3 man3.new/zzip_seek.3 --- man3.old/zzip_seek.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_seek.3 2009-06-07 02:09:12.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_strerror.3 man3.new/zzip_strerror.3 --- man3.old/zzip_strerror.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_strerror.3 2009-06-07 02:09:12.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/zzip_tell.3 man3.new/zzip_tell.3 --- man3.old/zzip_tell.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/zzip_tell.3 2009-06-07 02:09:12.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) diff -Nur man3.old/__zzip_try_open.3 man3.new/__zzip_try_open.3 --- man3.old/__zzip_try_open.3 2009-05-24 20:36:32.000000000 +0800 +++ man3.new/__zzip_try_open.3 2009-06-07 02:25:26.000000000 +0800 @@ -48,7 +48,7 @@ .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 -\." make the size of the head bigger +.\" make the size of the head bigger .ps +3 .ft B .ne (2v + 1u) @@ -82,7 +82,7 @@ .nr an-no-space-flag 1 .nr an-break-flag 1 .ps \\n[PS-SS]u -\." make the size of the head bigger +.\" make the size of the head bigger .ps +2 .ft B .ne (2v + 1u) @@ -181,7 +181,8 @@ .ft .fam C .HP \w'int\ __zzip_try_open('u -.BI "int __zzip_try_open((zzip_char_t\ *\ filename,\ int\ filemode,\ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));" +.BI "int __zzip_try_open((zzip_char_t\ *\ filename,\ int\ filemode," +.BI " \ zzip_strings_t\ *\ ext,\ zzip_plugin_io_t\ io));" .fam .SH "Description" .PP debian/zziplib-bin.10000644000000000000000000000350712262674072011516 0ustar .TH ZZIPLIB-BIN 1 "June 25, 2004" .SH NAME zzcat, zzdir, zzxorcat, zzxordir zzxorcopy - small tools using zziplib .SH SYNOPSIS .B zzcat FILE [...] .B zzdir DIR [...] .B zzxorcat [-HEX] FILE [...] .B zzxordir [-HEX] DIR [...] .B zzxorcopy [-HEX] FILE OUTFILE .SH DESCRIPTION .PP \fIzzcat\fP prints the given files to stdout, so you may want to redirect the output. The FILE can be a normal file or an inflated part of a zip archive (see OPTIONS). .PP \fIzzdir\fP prints the content table to stdout of the given DIR or zipfile. .PP \fIzzxorcat\fP prints the given files to stdout, so you may want to redirect the output. The FILE is an inflated part of a zip archive obfusctated with a xor value optionally given by the HEX option. .PP \fIzzxordir\fP prints the content table to stdout of the given DIR or zipfile. The DIR can br an inflated part of a zip archive obfusctated with a xor value optionally given by the HEX option. .PP \fIzzxorcopy\fP copies data from FILE to OUTFILE adding simple obfuscation by xor-ing each byte with the HEX value given. Remember that copying data twice with the same xor-value will result in the original file data. . .SH OPTIONS \fIzziplib-bin\fP tools accept the following options: .TP 8 .B FILE Input filename for reading or part (if supported by tool). Part is written as zipname/filename, e.g.: for accessing README inside of data.zip you'll specify data/README. .TP 8 .B DIR Disk directory, zipfile or inflated part of a zipfile. .TP 8 .B \-HEX Hex number for xor-ing the zipfile contents. If not supplied all tools that use it take 0x55 as default value for xor-ing. .B OUTFILE Output file name for zzxorcopy. .SH AUTHORS .B zziplib was written by Guido Draheim . This manual page was written by Ricardo Mones , for the Debian GNU/Linux system (but may be used by others). debian/libzzip-0-13.symbols0000644000000000000000000001010112267321712012635 0ustar libzzip-0.so.13 libzzip-0-13 #MINVER# __zzip_fetch_disk_trailer@Base 0.13.56 __zzip_get16@Base 0.13.56 __zzip_get32@Base 0.13.56 __zzip_get64@Base 0.13.56 __zzip_parse_root_directory@Base 0.13.56 __zzip_set16@Base 0.13.56 __zzip_set32@Base 0.13.56 __zzip_set64@Base 0.13.56 __zzip_try_open@Base 0.13.56 zzip_close@Base 0.13.56 zzip_closedir@Base 0.13.56 zzip_compr_str@Base 0.13.56 zzip_createdir@Base 0.13.56 zzip_dir_alloc@Base 0.13.56 zzip_dir_alloc_ext_io@Base 0.13.56 zzip_dir_close@Base 0.13.56 zzip_dir_creat@Base 0.13.56 zzip_dir_creat_ext_io@Base 0.13.56 zzip_dir_fdopen@Base 0.13.56 zzip_dir_fdopen_ext_io@Base 0.13.56 zzip_dir_free@Base 0.13.56 zzip_dir_open@Base 0.13.56 zzip_dir_open_ext_io@Base 0.13.56 zzip_dir_read@Base 0.13.56 zzip_dir_real@Base 0.13.56 zzip_dir_stat@Base 0.13.56 zzip_dirfd@Base 0.13.56 zzip_dirhandle@Base 0.13.56 zzip_errno@Base 0.13.56 zzip_error@Base 0.13.56 zzip_fclose@Base 0.13.56 zzip_file_close@Base 0.13.56 zzip_file_creat@Base 0.13.56 zzip_file_mkdir@Base 0.13.56 zzip_file_open@Base 0.13.56 zzip_file_read@Base 0.13.56 zzip_file_real@Base 0.13.56 zzip_file_stat@Base 0.13.56 zzip_file_write@Base 0.13.56 zzip_filesize@Base 0.13.56 zzip_fopen@Base 0.13.56 zzip_fread@Base 0.13.56 zzip_freopen@Base 0.13.56 zzip_fstat@Base 0.13.56 zzip_fwrite@Base 0.13.56 zzip_get_default_io@Base 0.13.56 zzip_init_io@Base 0.13.56 zzip_open@Base 0.13.56 zzip_open_ext_io@Base 0.13.56 zzip_open_shared_io@Base 0.13.56 zzip_opendir@Base 0.13.56 zzip_opendir_ext_io@Base 0.13.56 zzip_read@Base 0.13.56 zzip_readdir@Base 0.13.56 zzip_realdir@Base 0.13.56 zzip_realfd@Base 0.13.56 zzip_rewind@Base 0.13.56 zzip_rewinddir@Base 0.13.56 zzip_seek32@Base 0.13.62 zzip_seek@Base 0.13.56 zzip_seekdir32@Base 0.13.62 zzip_seekdir@Base 0.13.56 zzip_seterror@Base 0.13.56 zzip_strerror@Base 0.13.56 zzip_strerror_of@Base 0.13.56 zzip_tell32@Base 0.13.62 zzip_tell@Base 0.13.56 zzip_telldir32@Base 0.13.62 zzip_telldir@Base 0.13.56 zzip_write@Base 0.13.56 libzzipfseeko-0.so.13 libzzip-0-13 #MINVER# __zzip_get16@Base 0.13.56 __zzip_get32@Base 0.13.56 __zzip_get64@Base 0.13.56 __zzip_set16@Base 0.13.56 __zzip_set32@Base 0.13.56 __zzip_set64@Base 0.13.56 zzip_entry_data_offset@Base 0.13.56 zzip_entry_fclose@Base 0.13.56 zzip_entry_feof@Base 0.13.56 zzip_entry_ffile@Base 0.13.56 zzip_entry_findfile@Base 0.13.56 zzip_entry_findfirst@Base 0.13.56 zzip_entry_findmatch@Base 0.13.56 zzip_entry_findnext@Base 0.13.56 zzip_entry_fopen@Base 0.13.56 zzip_entry_fread@Base 0.13.56 zzip_entry_free@Base 0.13.56 zzip_entry_strdup_name@Base 0.13.56 libzzipmmapped-0.so.13 libzzip-0-13 #MINVER# __zzip_get16@Base 0.13.56 __zzip_get32@Base 0.13.56 __zzip_get64@Base 0.13.56 __zzip_set16@Base 0.13.56 __zzip_set32@Base 0.13.56 __zzip_set64@Base 0.13.56 zzip_disk_buffer@Base 0.13.62 zzip_disk_close@Base 0.13.56 zzip_disk_entry_fopen@Base 0.13.56 zzip_disk_entry_get_mktime@Base 0.13.56 zzip_disk_entry_strdup_comment@Base 0.13.56 zzip_disk_entry_strdup_name@Base 0.13.56 zzip_disk_entry_to_data@Base 0.13.56 zzip_disk_entry_to_file_header@Base 0.13.56 zzip_disk_fclose@Base 0.13.56 zzip_disk_feof@Base 0.13.56 zzip_disk_findfile@Base 0.13.56 zzip_disk_findfirst@Base 0.13.56 zzip_disk_findmatch@Base 0.13.56 zzip_disk_findnext@Base 0.13.56 zzip_disk_fopen@Base 0.13.56 zzip_disk_fread@Base 0.13.56 zzip_disk_init@Base 0.13.56 zzip_disk_mmap@Base 0.13.56 zzip_disk_munmap@Base 0.13.56 zzip_disk_new@Base 0.13.56 zzip_disk_open@Base 0.13.56 zzip_mem_disk_buffer@Base 0.13.62 zzip_mem_disk_close@Base 0.13.56 zzip_mem_disk_fclose@Base 0.13.56 zzip_mem_disk_fdopen@Base 0.13.56 zzip_mem_disk_feof@Base 0.13.56 zzip_mem_disk_findfile@Base 0.13.56 zzip_mem_disk_findmatch@Base 0.13.56 zzip_mem_disk_fopen@Base 0.13.56 zzip_mem_disk_fread@Base 0.13.56 zzip_mem_disk_load@Base 0.13.56 zzip_mem_disk_new@Base 0.13.56 zzip_mem_disk_open@Base 0.13.56 zzip_mem_disk_unload@Base 0.13.56 zzip_mem_entry_extra_block@Base 0.13.56 zzip_mem_entry_fopen@Base 0.13.56 libzzipwrap-0.so.13 libzzip-0-13 #MINVER# zzipwrap_use_memory_io@Base 0.13.56 debian/changelog0000644000000000000000000001756113315457061011057 0ustar zziplib (0.13.62-2ubuntu0.2) trusty-security; urgency=medium * SECURITY UPDATE: invalid mem access in zzip_disk_fread - debian/patches/CVE-2018-6381.patch: check sizes in zzip/memdisk.c. - CVE-2018-6381 * SECURITY UPDATE: alignment and bus errors in __zzip_fetch_disk_trailer - debian/patches/CVE-2018-6484.patch: check sizes in zzip/zip.c. - CVE-2018-6484 - CVE-2018-6541 - CVE-2018-6869 * SECURITY UPDATE: bus error in zzip_disk_findfirst - debian/patches/CVE-2018-6540.patch: check endbuf in zzip/mmapped.c. - CVE-2018-6540 * SECURITY UPDATE: invalid memory dereference - debian/patches/CVE-2018-7725.patch: check zlib space in zzip/memdisk.c, zzip/mmapped.c. - CVE-2018-7725 * SECURITY UPDATE: bus error in __zzip_parse_root_directory - debian/patches/CVE-2018-7726-1.patch: check rootseek and rootsize in zzip/zip.c. - debian/patches/CVE-2018-7726-2.patch: check rootseek in zzip/zip.c. - debian/patches/CVE-2018-7726-3.patch: check zz_rootsize in zzip/zip.c. - CVE-2018-7726 -- Marc Deslauriers Fri, 29 Jun 2018 12:28:33 -0400 zziplib (0.13.62-2ubuntu0.1) trusty-security; urgency=medium * SECURITY UPDATE: multiple security issues - debian/patches/*: synchronize security fixes with Debian's 0.13.62-3.1 release. Thanks to Josef Moellers of SuSE and Moritz Muehlenhoff of Debian! - CVE-2017-5974, CVE-2017-5975, CVE-2017-5976, CVE-2017-5978, CVE-2017-5979, CVE-2017-5980, CVE-2017-5981 -- Marc Deslauriers Tue, 13 Jun 2017 10:04:06 -0400 zziplib (0.13.62-2) unstable; urgency=low * Merge in Ubuntu changes to use dh-autoreconf to ensure package remains buildable across future ports. Thanks to Steve Langasek. (Closes: #736810) -- Scott Howard Sun, 26 Jan 2014 18:54:39 -0500 zziplib (0.13.62-1) unstable; urgency=low * New upstream release (Closes: #709437) * Updated symbols file. * export-dynamic.patch dropped, accepted upstream -- Scott Howard Mon, 20 Jan 2014 17:12:51 -0500 zziplib (0.13.56-2) unstable; urgency=low * Adopting package (Closes: #733144) * use source/format 3.0 (quilt), and separate debian changes into patch "export-dynamic.patch" * simple dh rules - multiarch enabled - use --with autotools-dev (Closes: #717837) * build depend on zip so build checks run * added symbols file * No longer conflict with zziplib-0-12 (no reason to conflict) (Closes: #565982) * Removed unneeded -lz from .pc file (Closes: #471065) - debian/patches/remove_extra_z_linking.patch -- Scott Howard Tue, 07 Jan 2014 13:57:57 -0500 zziplib (0.13.56-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: x86_64-linux-gnu-gcc: error: unrecognized option '--export-dynamic'": apply patch from Ubuntu / Matthias Klose: - Pass correct linker option. LP: #832895. Closes: #625064. * Fix "Emptying dependency_libs in .la files": use recipe provided by Neil Williams in the bug report. Closes: #633335 -- gregor herrmann Thu, 06 Oct 2011 20:07:37 +0200 zziplib (0.13.56-1) unstable; urgency=low * New Upstream Version - update debian/man3.patch - remove msvc8/zip.exe and msvc7/pkzip.exe * Upgrade the standard version to 3.8.2 * Add the vcs information to debian/control -- LIU Qi Sun, 12 Jul 2009 14:37:46 +0800 zziplib (0.13.54-1) unstable; urgency=low * New Maintainer. Closes: #529561 * New Upstream Version. Closes: #530850 * Fixed the lintian warnings of manpages. * 01-fetch.patch: dropped as it was merged upstream -- LIU Qi Sun, 31 May 2009 00:08:56 +0800 zziplib (0.13.50-1) unstable; urgency=low * New upstream version - Update 01-fetch.patch * debhelper compat version is 7 * Standards version is 3.8.1 * Run dh_prep instead of dh_clean -k * Add debian/watch -- Anibal Monsalve Salazar Mon, 23 Mar 2009 21:13:57 +1100 zziplib (0.13.49-4) unstable; urgency=low * NMU acknowledgement. Closes: #443880 * Fixed the following lintian issues: - zziplib source: out-of-date-standards-version 3.7.2 (current is 3.7.3) - zziplib: description-contains-homepage -- Anibal Monsalve Salazar Sun, 06 Apr 2008 08:13:02 +1000 zziplib (0.13.49-3.1) unstable; urgency=low * NMU from the Cambridge BSP * Fixed SIGBUS due to alignment problems, closes: #443880. Patch: 01-fetch.patch -- Steve McIntyre <93sam@debian.org> Sat, 05 Apr 2008 17:54:27 +0100 zziplib (0.13.49-3) unstable; urgency=low * Fixed SIGSEGV on hppa, ia64, sparc, closes: #443880. Patch by brian m. carlson Patch: 01-zip.c.patch * Fixed FTBFS if build twice in a row, closes: #442779. * Build-depends on quilt -- Anibal Monsalve Salazar Wed, 07 Nov 2007 17:43:35 +1100 zziplib (0.13.49-2) unstable; urgency=low * debian/rules: added configure option --datadir, closes: #439395. -- Anibal Monsalve Salazar Sat, 25 Aug 2007 10:29:31 +1000 zziplib (0.13.49-1) unstable; urgency=low * libzzip-0-13 Replaces & Conflicts: libzzip-0-12 -- Anibal Monsalve Salazar Fri, 24 Aug 2007 08:41:46 +1000 zziplib (0.13.49-0) unstable; urgency=low * New upstream version. Closes: #399617. - zzip-config was removed by upstream maintainer. - htmpages.ar was not shipped by upstream maintainer. - new build dependency: python. * Fixed: CVE-2007-1614 DoS and execution of arbitrary code. Closes: #436701. * Fixed the following lintian messages: - W: zziplib source: substvar-source-version-is-deprecated libzzip-dev - W: zziplib source: debian-rules-ignores-make-clean-error line 62 -- Anibal Monsalve Salazar Thu, 09 Aug 2007 18:47:38 +1000 zziplib (0.12.83-8) unstable; urgency=low * New maintainer. * Fixed "libzzip-dev: Override says libdevel - optional, .deb says devel - optional". -- Anibal Monsalve Salazar Tue, 03 Oct 2006 11:08:37 +1000 zziplib (0.12.83-7) unstable; urgency=low * Orphaning this package, setting maintainer field to packages@qa.debian.org. -- Aurelien Jarno Mon, 2 Oct 2006 11:03:22 +0200 zziplib (0.12.83-6) unstable; urgency=low * bins/zziptest.c: fixed a cast to pointer from integer of different size. * Bumped Standards-Version to 3.7.2 (nochanges). -- Aurelien Jarno Wed, 7 Jun 2006 14:31:12 +0200 zziplib (0.12.83-5) unstable; urgency=low * zzip/zzip.h: include sys/types.h instead of stddef.h, so that zziplib could be built on GNU/Hurd and GNU/kFreeBSD. -- Aurelien Jarno Sun, 3 Jul 2005 11:42:08 +0200 zziplib (0.12.83-4) unstable; urgency=low * Libtool update for kfreebsd-gnu in zziplib/ directory (closes: bug#294730). -- Aurelien Jarno Fri, 18 Feb 2005 12:45:00 +0100 zziplib (0.12.83-3) unstable; urgency=low * Added GCC 4.0 fixes from Andreas Jochens (closes: bug#295055). -- Aurelien Jarno Sun, 13 Feb 2005 16:10:27 +0100 zziplib (0.12.83-2) unstable; urgency=low * Libtool update for kfreebsd-gnu (closes: bug#294730). -- Aurelien Jarno Fri, 11 Feb 2005 17:32:04 +0100 zziplib (0.12.83-1) unstable; urgency=low * New upstream version. -- Aurelien Jarno Sun, 26 Sep 2004 21:48:52 +0200 zziplib (0.12.82-1) unstable; urgency=low * New upstream version. * Added manpages for zziplib-bin and included tools. Thanks to Ricardo Mones (closes: bug#256186). -- Aurelien Jarno Sat, 26 Jun 2004 16:33:10 +0200 zziplib (0.10.82-1) unstable; urgency=low * Initial Release (closes: bug#173511, bug#222397). -- Aurelien Jarno Mon, 29 Mar 2004 12:41:28 +0200