Con Kolivas
50cfb3b9f6
Prevent infinite loop from crafted/corrupt archive in unzip_match.
2018-05-16 19:26:15 +10:00
Con Kolivas
b84c710902
Prevent infinite loop in runzip_fd with crafted/damaged archive.
2018-05-16 19:14:56 +10:00
Con Kolivas
07bb66e284
Clean up error warnings.
2018-05-16 19:07:29 +10:00
Con Kolivas
7123f5545b
Add more sanity checks for chunk data.
2018-05-16 17:20:26 +10:00
Con Kolivas
f12c4a35f9
Add sanity checking for chunk data in the file header, fixing stack overflow.
2018-05-16 17:12:50 +10:00
Con Kolivas
4893e869e3
Add sanity check for invalid values during decompression, addressing CVE-2017-8845.
2018-05-16 16:55:41 +10:00
Con Kolivas
89d7b33e6a
Add sanity checking on chunk data on decompression.
2018-05-16 16:51:03 +10:00
Con Kolivas
33a6bf6234
Add invalid chunk data testing in info mode.
2018-05-16 16:44:50 +10:00
Con Kolivas
3f375385a5
Avoid crash from corrupt archive reading matches beyond end of stream.
2018-05-16 16:30:54 +10:00
Con Kolivas
1cf4460412
Missed one decomp clean up.
2018-05-16 15:13:55 +10:00
Con Kolivas
a94aeb7503
Further s_buf dealloc fixes on failed decompression.
2018-05-16 14:35:06 +10:00
Con Kolivas
dc57230636
Cope with compressed length being longer than uncompressed and rounding up, attending to CVE-2017-8844.
2018-05-16 14:30:15 +10:00
Con Kolivas
d26970135c
Minor memory cleanups for failed decompressions.
2018-05-16 14:20:38 +10:00
Con Kolivas
1971c00950
Fix assignment to deallocated buffer in failed decompression.
2018-05-16 14:16:49 +10:00
Con Kolivas
d212cc1115
Use dealloc() wrapper to minimise risk of local use after free.
2018-05-16 14:12:22 +10:00
Con Kolivas
3b61d97233
Minor alloc cleanup.
2018-05-16 14:03:14 +10:00
Con Kolivas
38386bd482
CVE-2017-8842 Fix divide-by-zero in bufRead::get
2018-03-09 17:39:40 +11:00
Con Kolivas
74b735ab68
Fix misleading indentation.
2018-03-09 17:29:01 +11:00
Con Kolivas
0e76d5d67c
Silence fallthrough warning.
2018-03-09 17:27:36 +11:00
Ingo Brückl
ad20a41940
Prevent lrunzip from decompressing with option 'i'
...
There must not be a decompression when requesting file information.
2018-03-09 15:48:33 +11:00
Ingo Brückl
6b50431410
Enable specifying the passphrase as an argument to option 'encrypt'
...
For various use cases it is desirable to be able to specify the
passphrase for a password protected encryption on the command line.
So allow option 'encrypt' to have an optional argument and set
control->passphrase to this argument if it is given.
Read the passphrase (and prompt for it) only from standard input
if not given on the command line.
Additionally, update documentation.
This fixes github issue #72 , reported by aivanise.
2018-03-09 15:48:33 +11:00
Con Kolivas
a91cfd16d2
Merge pull request #92 from gitmask-anonymous/gitmask-b393f649e36b7021670c
...
Gitmask Anonymous PR
2018-03-06 22:06:59 +11:00
ghost
14d95c7966
anonymous commit
2018-03-06 11:05:30 +00:00
ckolivas
4d8e60a912
Control window must be a positive value.
2017-12-18 09:08:27 +11:00
Con Kolivas
1a30639d7c
Merge pull request #77 from kata198/master
...
Allow liblrzip to work with FILE (other than stdin) and fix memory leak
2017-06-04 15:32:32 +10:00
Tim Savannah
1510f4a26a
Fix large memleak in decompression when output does not go to stdout. Same sort of logic already exists in compression.
2017-06-04 01:29:17 -04:00
Tim Savannah
6e0016daf7
Make liblrzip work when FILE provided is anything other than stdin. This will allow bindings to be created to lrzip
2017-06-04 01:28:18 -04:00
Con Kolivas
ac393eff44
Merge pull request #60 from zetok/readme
...
Fix FAQ formatting in README.md
2016-11-13 21:19:21 +11:00
Zetok Zalbavar
61331daa82
Fix FAQ formatting in README.md
...
Looks like automatic conversion of FAQ to markdown messed things up
slightly.
2016-11-13 10:12:48 +00:00
Con Kolivas
9de7ccbd33
Bump version to 0.631
2016-10-21 12:09:03 +11:00
Con Kolivas
64afd02a7d
Preserve times on compression
2016-10-17 21:36:13 +11:00
Con Kolivas
5a5c5cd425
Merge branch 'master' of github.com:ckolivas/lrzip
2016-10-17 19:53:02 +11:00
Con Kolivas
321c80f382
Add parsing of license option in compat mode and delete parsing of unused parameters where appropriate.
2016-10-17 19:50:45 +11:00
Con Kolivas
2c15f12dbb
Merge pull request #58 from Patterner/master
...
fix getopt() call for 'p' by adding the missing colon (:)
2016-09-21 01:52:57 +02:00
Jörg Plate
ae69bc45e5
fix getopt() call for 'p' by adding the missing colon (:)
2016-09-21 01:50:37 +02:00
Con Kolivas
1306c809b8
Merge branch 'master' of github.com:ckolivas/lrzip
2016-06-14 13:47:51 +10:00
Con Kolivas
3d9b791214
Add a workaround in encryption loops calculation for CPUs no longer keeping up with Moore's law
2016-06-14 13:47:38 +10:00
Con Kolivas
98f87e6df9
Merge pull request #53 from ole-tange/master
...
Reformatted man page
2016-06-12 08:17:23 +10:00
Ole Tange
cd51d20bd4
Added regressiontest.
2016-06-11 23:25:27 +02:00
Ole Tange
1203a1853e
main.c: Ignore --lzma.
2016-06-11 21:47:54 +02:00
Ole Tange
b0a6d87742
man/lrz.1.pod: Better POD formatting.
2016-06-11 21:47:13 +02:00
Con Kolivas
23ff5f921a
Bump version to 0.630
2016-06-11 09:30:47 +10:00
Con Kolivas
b63c673ab8
Update changelog for v0.630
2016-06-11 09:30:10 +10:00
Con Kolivas
049ea5b35c
Update man copyright notices
2016-06-11 09:24:14 +10:00
Con Kolivas
752c91c502
Update more copyright notices
2016-06-11 09:22:34 +10:00
Con Kolivas
4f53d36caa
Merge branch 'compat'
2016-06-10 21:05:39 +10:00
Con Kolivas
d05334bd86
checksum.buf should only be changed after the semaphore wait
2016-06-10 21:04:42 +10:00
Con Kolivas
a2796607d9
Update README
2016-06-10 16:23:00 +10:00
Con Kolivas
3e178b4ede
Add documentation for recursive mode
2016-06-10 16:17:11 +10:00
Con Kolivas
7a03965214
Implement gzip compatible -r recursive option
2016-06-10 16:10:03 +10:00