aboutsummaryrefslogtreecommitdiff
path: root/po/cs.po
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-09-22 02:33:29 +0300
committerLasse Collin <lasse.collin@tukaani.org>2023-09-22 20:16:40 +0300
commit2a9929af0ab7e6c0ab725565034afe3293e51d71 (patch)
tree54d41e87f2aba2ea5d4a1fc84d280f126db26638 /po/cs.po
parentCMake: Wrap two overlong lines that are possible to wrap. (diff)
downloadxz-2a9929af0ab7e6c0ab725565034afe3293e51d71.tar.xz
xz: Windows: Don't (de)compress to special files like "con" or "nul".
Before this commit, the following writes "foo" to the console and deletes the input file: echo foo | xz > con_xz xz --suffix=_xz --decompress con_xz It cannot happen without --suffix because names like con.xz are also special and so attempting to decompress con.xz (or compress con to con.xz) will already fail when opening the input file. Similar thing is possible when compressing. The following writes to "nul" and the input file "n" is deleted. echo foo | xz > n xz --suffix=ul n Now xz checks if the destination is a special file before continuing. DOS/DJGPP version had a check for this but Windows (and OS/2) didn't.
Diffstat (limited to 'po/cs.po')
0 files changed, 0 insertions, 0 deletions