|
afda7ca4e2
|
Add a simple 'check' target to ensure basic functionality
Mainly checking that pxz(1) can compress and that it's output can be
extracted by xz(1).
|
2020-07-15 14:02:51 +02:00 |
|
|
f04fcc4de4
|
„Makefile“ ändern
|
2020-07-15 14:00:42 +02:00 |
|
|
f7e3150751
|
CVE-2015-1200: Race condition in setting permissions on output file
Race condition in pxz 4.999.99 Beta 3 uses weak file permissions
for the output file when compressing a file before changing the
permission to match the original file, which allows local users
to bypass the intended access restrictions.
Patch by Moritz Mühlenhoff <jmm@inutil.org>
See also:
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1200
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775306
- https://bugzilla.redhat.com/show_bug.cgi?id=1182024
|
2020-07-15 13:59:53 +02:00 |
|
Jindrich Novy
|
124382a6d0
|
Fix man page -k option.
|
2019-05-07 17:08:53 +02:00 |
|
Jindrich Novy
|
1f982df772
|
Merge pull request #25 from jeffjanes/memory_leak
Fix memory leak
|
2019-05-07 17:05:17 +02:00 |
|
Jindrich Novy
|
cc54840fe0
|
Merge pull request #33 from DaGeRe/master
Redirect environment in order to allow export XZ_OPT="-9" or stuff li…
|
2019-05-07 16:33:58 +02:00 |
|
David Georg Reichelt
|
fa3194ea0b
|
Redirect environment in order to allow export XZ_OPT="-9" or stuff like this
|
2019-05-07 16:30:53 +02:00 |
|
Jeff Janes
|
e043807e7b
|
Fix memory leak
When many files are specified on the command line, a lot of memory
is leaked. Free the space which is being leaked.
|
2016-09-22 15:22:04 -07:00 |
|
Jindrich Novy
|
fcfea93957
|
Merge pull request #20 from michael-dev/master
add crc32 support, check malloc return values, run with ulimits
|
2015-10-29 15:55:21 +00:00 |
|
Michael Braun
|
459560d41d
|
add crc32 support
required for example by linux kernel initrd decompression
|
2015-01-19 14:53:36 +01:00 |
|
Michael Braun
|
1f81723b74
|
_SC_ARG_MAX cannot always be mallocated, so try smaller values instead. In fact, we do not always need this memory mostly.
|
2015-01-19 14:53:04 +01:00 |
|
Michael Braun
|
11367164e3
|
check malloc returning not null
|
2015-01-19 14:52:04 +01:00 |
|
Jindrich Novy
|
ae808463c2
|
Use correct format for 64bit types
|
2014-10-18 18:06:27 +01:00 |
|
jnovy
|
d58b474231
|
Merge pull request #15 from rgeissert/handle-unknown-options
Defer call back to xz(1) on unrecognised parameters
|
2014-10-15 22:17:29 +01:00 |
|
jnovy
|
9033f3b306
|
Merge pull request #12 from jonjensen/master
Correct manpage for -c and -k options
|
2014-10-15 22:14:58 +01:00 |
|
jnovy
|
31f299773c
|
Merge pull request #8 from h01ger/h01ger
keep -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE even when overriding CFL...
|
2014-10-15 22:02:12 +01:00 |
|
Raphael Geissert
|
46086f49b3
|
Defer call back to xz(1) on unrecognised parameters
This makes pxz a bit more future-proof and Closes: #714732 (Debian bug)
at the same time.
|
2014-06-08 12:37:49 +02:00 |
|
Jon Jensen
|
741fd5ad40
|
Correct manpage for -c and -k options
|
2014-04-17 17:30:03 -06:00 |
|
Holger Levsen
|
659fc9b578
|
keep -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE even when overriding CFLAGS - see Debian #706295
|
2013-05-27 22:48:25 +02:00 |
|
jnovy
|
eb3bb6b794
|
Merge pull request #6 from h01ger/h01ger
H01ger
|
2012-09-30 09:32:29 -07:00 |
|
Holger Levsen
|
4774800845
|
Makefile: use CPPFLAGS from environment (ie dpkg-buildflags), necessary
for hardening flags from Debian.
Thanks to Simon Ruderich <simon@ruderich.org> (Closes: #687044)
|
2012-09-16 13:02:43 +02:00 |
|
Simon Andersson
|
2b29bb87e5
|
Fix printf format for 64bit long long
|
2012-09-16 12:53:16 +02:00 |
|
Per Øyvind Karlsen
|
9318f24fdf
|
oops, multiply dict_size with opt_context_size for chunk_size..
|
2012-09-16 12:51:49 +02:00 |
|
Per Øyvind Karlsen
|
1a4bde7dee
|
use lzma_stream_encoder() in stead of lzma_easy_encoder() so that we can
get the appropriate dictionary size regardless of preset level and also
allow for compression options etc. as well :)
|
2012-09-16 12:51:42 +02:00 |
|
Elias Pipping
|
537418b1a4
|
Hardcoding gcc is last decade
|
2010-12-10 01:01:07 +01:00 |
|
Michael Shigorin
|
41a49ff1c8
|
fix link for -Wl,--as-needed
|
2010-09-30 18:53:11 +08:00 |
|
Jindrich Novy
|
a1688e0584
|
Include omp.h only if _OPENMP is defined (thanks to Per Øyvind Karlsen).
|
2010-06-04 14:22:58 +02:00 |
|
Jindrich Novy
|
89b70ecec7
|
Update Makefile and fix CFLAGS.
|
2010-06-03 16:53:54 +02:00 |
|
Jindrich Novy
|
4bdab55bc3
|
Add license and man page.
|
2010-06-03 16:53:31 +02:00 |
|
Jindrich Novy
|
e89bb1a051
|
Allow user to specify context size per thread
|
2010-05-26 13:18:37 +02:00 |
|
Jindrich Novy
|
81ea45daa3
|
Use file closing function similar to the gnulib one for better error checking
|
2010-02-17 09:37:39 +01:00 |
|
Jindrich Novy
|
edcb1398ae
|
Reduce warning level to suppress warnings caused by glibc error() declaration
|
2010-02-16 14:41:18 +01:00 |
|
Jindrich Novy
|
5b244385d5
|
Test also ferror() to detect errors when closing file
- replace fseek() by rewind()
|
2010-02-16 14:39:31 +01:00 |
|
Jindrich Novy
|
4a4974ea0c
|
Use error() glibc function for error reporting instead of perror()
- add missing fclose() error checks
- add missing unlink() error checks
- thanks to Jim Meyering for suggestions
|
2010-02-16 13:21:02 +01:00 |
|
Jindrich Novy
|
d4aea8e71c
|
Suppress compiler warnings
|
2009-12-09 18:34:44 +01:00 |
|
Jindrich Novy
|
7cc45a491a
|
Use fixed size of compression context (3x dict by default)
- read file contiguously with fixed buffers to reduce memory consumption
- fix ctrl-c handling
|
2009-12-09 18:29:14 +01:00 |
|
Jindrich Novy
|
8b13319eaf
|
Add back correct CFLAGS
|
2009-12-01 14:44:21 +01:00 |
|
Jindrich Novy
|
1b12e1402e
|
Allow passing files to PXZ via stdin
|
2009-12-01 14:42:56 +01:00 |
|
Jindrich Novy
|
3f9c39e59d
|
Use XZ default CRC64 check for file integrity test
|
2009-11-27 13:08:29 +01:00 |
|
Jindrich Novy
|
5601ba2ea5
|
Allow to write compressed archive to stdout
|
2009-11-27 13:01:36 +01:00 |
|
Jindrich Novy
|
a6c5bcb8f4
|
Archive inherits permissions and timestamp from compressed file
|
2009-11-25 18:52:55 +01:00 |
|
Jindrich Novy
|
306155207c
|
Make call to the XZ binary externally overridable
|
2009-11-25 18:14:33 +01:00 |
|
Jindrich Novy
|
b6e35445f1
|
Don't try to compress already compressed file
|
2009-11-24 15:18:36 +01:00 |
|
Jindrich Novy
|
558db3770e
|
Remove experimental code directly piping data from/to XZ
|
2009-11-24 13:39:38 +01:00 |
|
Jindrich Novy
|
202350b37b
|
Enhance verbose mode reports
|
2009-11-19 14:33:06 +01:00 |
|
Jindrich Novy
|
e015c1f87a
|
Use local buffers for each thread, add force option
|
2009-11-19 12:18:13 +01:00 |
|
Jindrich Novy
|
f271ab1f58
|
Add direct compression support via liblzma without piping to xz
|
2009-11-19 09:42:51 +01:00 |
|
Jindrich Novy
|
8efbab389d
|
Better naming for the variable describing # of threads to be ran
|
2009-11-19 03:28:27 +01:00 |
|
Jindrich Novy
|
59057a1aec
|
Update dist creation and installation
|
2009-11-18 18:57:20 +01:00 |
|
Jindrich Novy
|
fdb12af28c
|
Add verbosity option, version reporting fixes
|
2009-11-17 20:24:44 +01:00 |
|