]> granicus.if.org Git - zziplib/log
zziplib
6 years ago- If an extension block is too small to hold an extension,
Josef Möllers [Tue, 6 Feb 2018 15:16:36 +0000 (16:16 +0100)]
- If an extension block is too small to hold an extension,
  do not use the information therein.
- If the End of central directory record (EOCD) contains an
  Offset of start of central directory which is beyond the end of
  the file, reject the file.
  [CVE-2018-6540]

6 years agoReject the ZIP file and report it as corrupt if the size of the
Josef Möllers [Fri, 2 Feb 2018 13:09:32 +0000 (14:09 +0100)]
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]

6 years agomerge CVE-2018-6381.patch from @jmoellers #12
Guido Draheim [Thu, 1 Feb 2018 11:27:49 +0000 (12:27 +0100)]
merge CVE-2018-6381.patch from @jmoellers #12

6 years agoMerge pull request #9 from stweil/master
Guido U. Draheim [Sun, 24 Sep 2017 23:09:11 +0000 (01:09 +0200)]
Merge pull request #9 from stweil/master

Fix some typos

7 years agoFix some typos
Stefan Weil [Sat, 16 Sep 2017 19:58:02 +0000 (21:58 +0200)]
Fix some typos

Most of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
7 years agozipextract for zzip - 18 expected
Guido Draheim [Mon, 12 Jun 2017 20:05:12 +0000 (22:05 +0200)]
zipextract for zzip - 18 expected

7 years agozipextract base - what could be extracted
Guido Draheim [Mon, 12 Jun 2017 19:33:02 +0000 (21:33 +0200)]
zipextract base - what could be extracted

7 years agoCVE-2017-5974
Guido Draheim [Mon, 12 Jun 2017 18:42:51 +0000 (20:42 +0200)]
CVE-2017-5974

7 years agotestcases with unzzip-mix (2 expected)
Guido Draheim [Mon, 12 Jun 2017 18:30:20 +0000 (20:30 +0200)]
testcases with unzzip-mix (2 expected)

7 years agoCVE-2017-5981 testcase
Guido Draheim [Mon, 12 Jun 2017 18:23:53 +0000 (20:23 +0200)]
CVE-2017-5981 testcase

7 years agoCVE-2017-5980 testcase
Guido Draheim [Mon, 12 Jun 2017 18:18:12 +0000 (20:18 +0200)]
CVE-2017-5980 testcase

7 years agoCVE-2017-5976 testcase
Guido Draheim [Mon, 12 Jun 2017 18:14:29 +0000 (20:14 +0200)]
CVE-2017-5976 testcase

7 years agoCVE-2017-5975 testcase
Guido Draheim [Mon, 12 Jun 2017 18:10:45 +0000 (20:10 +0200)]
CVE-2017-5975 testcase

7 years agoCVE-2017-5974 testcase (and correcting the other testcases)
Guido Draheim [Mon, 12 Jun 2017 18:05:11 +0000 (20:05 +0200)]
CVE-2017-5974 testcase (and correcting the other testcases)

7 years agoCVE-2017-5979 testcase
Guido Draheim [Mon, 12 Jun 2017 17:41:27 +0000 (19:41 +0200)]
CVE-2017-5979 testcase

7 years agoCVE-2017-5978 testcase
Guido Draheim [Mon, 12 Jun 2017 17:39:00 +0000 (19:39 +0200)]
CVE-2017-5978 testcase

7 years agoCVE-2017-5977 testcase
Guido Draheim [Mon, 12 Jun 2017 17:30:07 +0000 (19:30 +0200)]
CVE-2017-5977 testcase

7 years agointroduce zzip/__errno.h to help with missing EBADMSG
Guido Draheim [Mon, 12 Jun 2017 01:04:16 +0000 (03:04 +0200)]
introduce zzip/__errno.h to help with missing EBADMSG

7 years agov0.13.67 v0.13.67
Guido Draheim [Mon, 12 Jun 2017 00:54:33 +0000 (02:54 +0200)]
v0.13.67

7 years agouse existing zzip/__fnmatch.h in bins/*.c
Guido Draheim [Mon, 12 Jun 2017 00:14:45 +0000 (02:14 +0200)]
use existing zzip/__fnmatch.h in bins/*.c

7 years agocut out _mkdir to zzip/__mkdir.h and use bin/*.c as well
Guido Draheim [Mon, 12 Jun 2017 00:04:42 +0000 (02:04 +0200)]
cut out _mkdir to zzip/__mkdir.h and use bin/*.c as well

7 years agomove _zzip_strndup to new zzip/__string.h and use it in bins/*.c
Guido Draheim [Sun, 11 Jun 2017 23:56:26 +0000 (01:56 +0200)]
move _zzip_strndup to new zzip/__string.h and use it in bins/*.c

7 years agouse zzip_mem_entry_find_extra_block, deprecate the old func
Guido Draheim [Sun, 11 Jun 2017 23:52:26 +0000 (01:52 +0200)]
use zzip_mem_entry_find_extra_block, deprecate the old func

7 years agoCVE-2017-5974
Guido Draheim [Tue, 23 May 2017 21:31:25 +0000 (23:31 +0200)]
CVE-2017-5974

7 years agoCVE-2017-5979
Guido Draheim [Tue, 23 May 2017 21:03:39 +0000 (23:03 +0200)]
CVE-2017-5979

7 years agofix that problem
Guido Draheim [Tue, 16 May 2017 00:32:23 +0000 (02:32 +0200)]
fix that problem

7 years agoreport a run-error as an exception
Guido Draheim [Fri, 28 Apr 2017 00:03:10 +0000 (02:03 +0200)]
report a run-error as an exception

7 years agoshow the segefault
Guido Draheim [Thu, 27 Apr 2017 19:23:00 +0000 (21:23 +0200)]
show the segefault

7 years agocheck test5.zip by usage
Guido Draheim [Tue, 25 Apr 2017 21:49:12 +0000 (23:49 +0200)]
check test5.zip by usage

7 years agoadd test5.zip with subdirs
Guido Draheim [Tue, 25 Apr 2017 21:33:46 +0000 (23:33 +0200)]
add test5.zip with subdirs

7 years agopush test4.zip into the megabyte range
Guido Draheim [Tue, 25 Apr 2017 20:50:07 +0000 (22:50 +0200)]
push test4.zip into the megabyte range

7 years agoput zzshow check-sfx into py-testsuite
Guido Draheim [Tue, 25 Apr 2017 20:20:50 +0000 (22:20 +0200)]
put zzshow check-sfx into py-testsuite

7 years agounused O_BINARY
Guido Draheim [Tue, 25 Apr 2017 19:40:13 +0000 (21:40 +0200)]
unused O_BINARY

7 years agocleanup debug()->DBG()
Guido Draheim [Tue, 25 Apr 2017 19:37:21 +0000 (21:37 +0200)]
cleanup debug()->DBG()

7 years agoimplement makedirs for zzip_extract examples
Guido Draheim [Mon, 24 Apr 2017 21:12:38 +0000 (23:12 +0200)]
implement makedirs for zzip_extract examples

7 years agoallow for -l/-v in unzzip list
Guido Draheim [Mon, 24 Apr 2017 21:04:51 +0000 (23:04 +0200)]
allow for -l/-v in unzzip list

7 years agoalign designations of comprlevel / provide it for fseeko
Guido Draheim [Mon, 24 Apr 2017 10:34:02 +0000 (12:34 +0200)]
align designations of comprlevel / provide it for fseeko

7 years agocall info-zip's unzzip for comparison in testsuite
Guido Draheim [Mon, 24 Apr 2017 09:42:36 +0000 (11:42 +0200)]
call info-zip's unzzip for comparison in testsuite

7 years agocall info-zip's unzzip for comparison in testsuite
Guido Draheim [Mon, 24 Apr 2017 09:40:36 +0000 (11:40 +0200)]
call info-zip's unzzip for comparison in testsuite

7 years agouse mkzip via tools .bins()
Guido Draheim [Mon, 24 Apr 2017 09:34:18 +0000 (11:34 +0200)]
use mkzip via tools .bins()

7 years agorenumber testcases for unzzip
Guido Draheim [Mon, 24 Apr 2017 09:30:57 +0000 (11:30 +0200)]
renumber testcases for unzzip

7 years agosplit up zzip.c to zzipmake-zip.c / split unzzip.h into unzzipcat-zip.h and unzzipdir...
Guido Draheim [Mon, 24 Apr 2017 00:17:01 +0000 (02:17 +0200)]
split up zzip.c to zzipmake-zip.c / split unzzip.h into unzzipcat-zip.h and unzzipdir-zip.h

7 years ago0.13.66 v0.13.66
Guido Draheim [Sun, 23 Apr 2017 23:46:28 +0000 (01:46 +0200)]
0.13.66

7 years agofix zzcat-mix tests
Guido Draheim [Sun, 23 Apr 2017 23:42:49 +0000 (01:42 +0200)]
fix zzcat-mix tests

7 years agofix zzdir-mem tests
Guido Draheim [Sun, 23 Apr 2017 23:31:54 +0000 (01:31 +0200)]
fix zzdir-mem tests

7 years agoexpand tests to mix/zap
Guido Draheim [Sun, 23 Apr 2017 23:25:32 +0000 (01:25 +0200)]
expand tests to mix/zap

7 years agoalign tests big/mem
Guido Draheim [Sun, 23 Apr 2017 23:14:17 +0000 (01:14 +0200)]
align tests big/mem

7 years agoput all big/mem/mix variants under a common frontend unzip.c
Guido Draheim [Sun, 23 Apr 2017 23:09:31 +0000 (01:09 +0200)]
put all big/mem/mix variants under a common frontend unzip.c

7 years ago0.13.65 v0.13.65
Guido Draheim [Sun, 23 Apr 2017 19:58:31 +0000 (21:58 +0200)]
0.13.65

7 years agofixed zzipcat-mem by changing strdup_name to return emptry string on missing name...
Guido Draheim [Sun, 23 Apr 2017 19:43:33 +0000 (21:43 +0200)]
fixed zzipcat-mem by changing strdup_name to return emptry string on missing name on disk

7 years agofix zzcat-seeko
Guido Draheim [Sun, 23 Apr 2017 18:21:01 +0000 (20:21 +0200)]
fix zzcat-seeko

7 years agoadding tests for mem/seeko
Guido Draheim [Sun, 23 Apr 2017 16:10:30 +0000 (18:10 +0200)]
adding tests for mem/seeko

7 years agoadd testcase for bins/zzip (when -D_ZZIO_ENABLE_WRITE)
Guido Draheim [Sun, 23 Apr 2017 15:45:54 +0000 (17:45 +0200)]
add testcase for bins/zzip (when -D_ZZIO_ENABLE_WRITE)

7 years agoturn testsuite from makefile into python unittest / autoreconf
Guido Draheim [Sun, 23 Apr 2017 15:21:23 +0000 (17:21 +0200)]
turn testsuite from makefile into python unittest / autoreconf

7 years agoswitch to host-builddir
Guido Draheim [Sun, 23 Apr 2017 15:20:49 +0000 (17:20 +0200)]
switch to host-builddir

7 years agoignore builddir
Guido Draheim [Sun, 23 Apr 2017 15:20:24 +0000 (17:20 +0200)]
ignore builddir

7 years ago~0.13.64~ on github releases v0.13.64
Guido Draheim [Fri, 21 Apr 2017 08:00:50 +0000 (10:00 +0200)]
~0.13.64~ on github releases

7 years agogitignore
Guido Draheim [Fri, 21 Apr 2017 07:52:40 +0000 (09:52 +0200)]
gitignore

7 years agoupdate autotools (autoreconf)
Guido Draheim [Fri, 21 Apr 2017 07:50:04 +0000 (09:50 +0200)]
update autotools (autoreconf)

7 years ago- crlf
Guido Draheim [Fri, 21 Apr 2017 07:18:57 +0000 (09:18 +0200)]
- crlf

7 years agoshorten copyright info / use under copyleft (LGPL,MPL)
Guido Draheim [Fri, 21 Apr 2017 07:13:07 +0000 (09:13 +0200)]
shorten copyright info / use under copyleft (LGPL,MPL)

7 years agoensure that errno is set on errors
Guido Draheim [Fri, 21 Apr 2017 06:56:16 +0000 (08:56 +0200)]
ensure that errno is set on errors

7 years agoensure to have errno being set on errors in fseeko
Guido Draheim [Thu, 20 Apr 2017 23:57:45 +0000 (01:57 +0200)]
ensure to have errno being set on errors in fseeko

7 years ago0.13.63 v0.13.63
Guido Draheim [Thu, 20 Apr 2017 22:58:19 +0000 (00:58 +0200)]
0.13.63

7 years agochangelog
Guido Draheim [Thu, 20 Apr 2017 22:56:56 +0000 (00:56 +0200)]
changelog

7 years agocheck trailer64 size
Guido Draheim [Thu, 20 Apr 2017 22:49:45 +0000 (00:49 +0200)]
check trailer64 size

7 years agocheck strdup return as null / unzipcat-NULL-name
Guido Draheim [Thu, 20 Apr 2017 22:42:26 +0000 (00:42 +0200)]
check strdup return as null / unzipcat-NULL-name

7 years agoremove usage of assert and return error-value / CVE-2017-5981
Guido Draheim [Thu, 20 Apr 2017 22:24:57 +0000 (00:24 +0200)]
remove usage of assert and return error-value / CVE-2017-5981

7 years agocheck more strdup returning null
Guido Draheim [Thu, 20 Apr 2017 21:45:43 +0000 (23:45 +0200)]
check more strdup returning null

7 years agocheck strdup being possible null / CVE-2017-5978
Guido Draheim [Thu, 20 Apr 2017 21:25:21 +0000 (23:25 +0200)]
check strdup being possible null / CVE-2017-5978

7 years agocheck file_header pointer and emit errno=BADMSG / CVE-2017-5975
Guido Draheim [Thu, 20 Apr 2017 21:20:23 +0000 (23:20 +0200)]
check file_header pointer and emit errno=BADMSG / CVE-2017-5975

7 years agocheck file header magic / CVE-2017-5975
Guido Draheim [Thu, 20 Apr 2017 21:07:10 +0000 (23:07 +0200)]
check file header magic / CVE-2017-5975

7 years agoremember extra_block length / check min and max sizes / no check for added zereo...
Guido Draheim [Thu, 20 Apr 2017 19:44:22 +0000 (21:44 +0200)]
remember extra_block length / check min and max sizes / no check for added zereo datatype / CVE-2017-5974 / CVE-2017-5976

7 years agoalways use the ZZIP_GET macros
Guido Draheim [Thu, 20 Apr 2017 17:13:50 +0000 (19:13 +0200)]
always use the ZZIP_GET macros

7 years agoensure ZZIP_GET macros are always defined
Guido Draheim [Thu, 20 Apr 2017 17:11:15 +0000 (19:11 +0200)]
ensure ZZIP_GET macros are always defined

12 years agowithout anchor
Guido Draheim [Sun, 16 Sep 2012 10:27:21 +0000 (10:27 +0000)]
without anchor

12 years agosplit_copyright
Guido Draheim [Sun, 16 Sep 2012 10:25:34 +0000 (10:25 +0000)]
split_copyright

12 years agoand the anchor
Guido Draheim [Sat, 15 Sep 2012 17:48:08 +0000 (17:48 +0000)]
and the anchor

12 years agowith header
Guido Draheim [Sat, 15 Sep 2012 17:05:04 +0000 (17:05 +0000)]
with header

12 years agoinitial
Guido Draheim [Sat, 15 Sep 2012 16:40:51 +0000 (16:40 +0000)]
initial

12 years ago"};" no good for --pedantic-errors
Guido Draheim [Sat, 15 Sep 2012 10:56:14 +0000 (10:56 +0000)]
"};" no good for --pedantic-errors

12 years ago"};" no good for --pedantic-errors
Guido Draheim [Sat, 15 Sep 2012 08:29:50 +0000 (08:29 +0000)]
"};" no good for --pedantic-errors

12 years ago"};" no good for --pedantic-errors
Guido Draheim [Sat, 15 Sep 2012 08:22:40 +0000 (08:22 +0000)]
"};" no good for --pedantic-errors

12 years agoosc fix v0.13.62
Guido Draheim [Sun, 11 Mar 2012 23:50:30 +0000 (23:50 +0000)]
osc fix

12 years agoOSC: error: bad date in %changelog: So Mrz 11 2012
Guido Draheim [Sun, 11 Mar 2012 23:44:24 +0000 (23:44 +0000)]
OSC: error: bad date in %changelog: So Mrz 11 2012

12 years ago0.13.62 quick fix for mingw problem.
Guido Draheim [Sun, 11 Mar 2012 20:49:34 +0000 (20:49 +0000)]
0.13.62 quick fix for mingw problem.

12 years agoupdate aclocal v0.13.61
Guido Draheim [Sun, 11 Mar 2012 14:26:38 +0000 (14:26 +0000)]
update aclocal

12 years agofallback to libtool -configure
Guido Draheim [Sun, 11 Mar 2012 14:26:20 +0000 (14:26 +0000)]
fallback to libtool -configure

13 years agoprefix ${wl} on LDFLAGS
Guido Draheim [Wed, 27 Apr 2011 23:20:21 +0000 (23:20 +0000)]
prefix ${wl} on LDFLAGS

13 years ago0.13.60 -> 0.13.61
Guido Draheim [Wed, 29 Dec 2010 17:28:36 +0000 (17:28 +0000)]
0.13.60 -> 0.13.61

13 years agowrap fd.open like in the Fedora patch. v0.13.60
Guido Draheim [Wed, 29 Dec 2010 16:25:35 +0000 (16:25 +0000)]
wrap fd.open like in the Fedora patch.

13 years agowrap fd.open like in the Fedora patch.
Guido Draheim [Wed, 29 Dec 2010 16:24:35 +0000 (16:24 +0000)]
wrap fd.open like in the Fedora patch.

13 years agoautoconf reconfigure
Guido Draheim [Wed, 29 Dec 2010 16:09:06 +0000 (16:09 +0000)]
autoconf reconfigure

13 years agoallow nonstatic build
Guido Draheim [Wed, 29 Dec 2010 16:08:16 +0000 (16:08 +0000)]
allow nonstatic build

13 years agosimplify spec
Guido Draheim [Tue, 28 Dec 2010 19:58:09 +0000 (19:58 +0000)]
simplify spec

13 years agosimplify spec
Guido Draheim [Tue, 28 Dec 2010 19:36:39 +0000 (19:36 +0000)]
simplify spec

13 years agodebug-PATH added.
Guido Draheim [Tue, 28 Dec 2010 02:39:12 +0000 (02:39 +0000)]
debug-PATH added.

13 years agoremember environment variables
Guido Draheim [Mon, 27 Dec 2010 11:56:23 +0000 (11:56 +0000)]
remember environment variables

13 years agoNeed a different download link on win64
Guido Draheim [Mon, 27 Dec 2010 11:45:26 +0000 (11:45 +0000)]
Need a different download link on win64

13 years agoadding fetch.h/fetch.c to msvc8/zziplib.vcproj
Guido Draheim [Mon, 27 Dec 2010 02:29:56 +0000 (02:29 +0000)]
adding fetch.h/fetch.c to msvc8/zziplib.vcproj