[Debian-med-packaging] Bug#881187: zstd -t changes permissions of /dev/null when run as root

Ivan Kozik ivan at ludios.org
Wed Nov 8 17:21:45 UTC 2017


Package: zstd
Version: 1.3.1+dfsg-2

`zstd -t` has a bug that changes the permissions of /dev/null when run as root:

https://github.com/facebook/zstd/issues/851

With zstd 1.3.1+dfsg-2:

root at unstable:~# cd /tmp
root at unstable:/tmp# cp /etc/passwd ./
root at unstable:/tmp# zstd passwd
passwd               : 39.07%   (  2004 =>    783 bytes, passwd.zst)
root at unstable:/tmp# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Nov  8 09:12 /dev/null
root at unstable:/tmp# zstd -t passwd.zst
passwd.zst          : 2004 bytes
root at unstable:/tmp# ls -l /dev/null
crw-r--r-- 1 root root 1, 3 Nov  8 09:15 /dev/null

Upstream's 1.3.2 fixes this issue.

Best regards,

Ivan



More information about the Debian-med-packaging mailing list