Package: libzstd / 1.4.8+dfsg-2.1

Metadata

Package Version Patches format
libzstd 1.4.8+dfsg-2.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0006 Use bash for test script portablitity.patch | (download)

tests/playTests.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use bash for test script portablitity


0008 Address embedded zlib.patch | (download)

zlibWrapper/Makefile | 10 5 + 5 - 0 !
zlibWrapper/examples/example.c | 2 1 + 1 - 0 !
2 files changed, 6 insertions(+), 6 deletions(-)

 do not build zlibwrapper examples against embedded code copies.
0013 skip memory greedy tests.patch | (download)

tests/playTests.sh | 20 15 + 5 - 0 !
1 file changed, 15 insertions(+), 5 deletions(-)

 skip memory heavy tests causing ftbfs on mips(el) and hurd buildds
0014 Reproducible build.patch | (download)

contrib/pzstd/Options.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make the build reproducible
0015 Skip dev random tests on hurd.patch | (download)

tests/playTests.sh | 21 13 + 8 - 0 !
1 file changed, 13 insertions(+), 8 deletions(-)

 skip test failing on gnu/hurd when writing on /dev/zero or
0017 alpha fbfs st_mtime.patch | (download)

programs/util.c | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 fix ftbfs on alpha, see #962676
0018 fix file permissions on compression.patch | (download)

programs/fileio.c | 9 3 + 6 - 0 !
programs/util.c | 9 9 + 0 - 0 !
programs/util.h | 7 6 + 1 - 0 !
3 files changed, 18 insertions(+), 7 deletions(-)

 fix race condition allowing attackers to access destination file
 This commit addresses https://github.com/facebook/zstd/issues/2491.
 .
 Note that a downside of this solution is that it is global: `umask()` affects
 all file creation calls in the process. I believe this is safe since
 `fileio.c` functions should only ever be used in the zstd binary, and these
 are (almost) the only files ever created by zstd, and AIUI they're only
 created in a single thread. So we can get away with messing with global state.
 .
 Note that this doesn't change the permissions of files created by `dibio.c`.
 I'm not sure what those should be...