Your message dated Fri, 08 Jan 2021 20:48:57 +0000
with message-id <[email protected]>
and subject line Bug#979595: fixed in squashfs-tools-ng 1.0.3-2
has caused the Debian Bug report #979595,
regarding Cannot squash filename with literal backslash
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
979595: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979595
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: squashfs-tools-ng
Version: 1.0.3-1
Severity: important
File: /usr/bin/gensquashfs

gensquashfs cannot understand filenames that include literal backslashes.
This occurs in the real world to anyone who clones systemd:

    https://github.com/systemd/systemd/blob/master/test/fuzz/fuzz-unit-file/
    
https://github.com/systemd/systemd/blob/master/test/fuzz/fuzz-unit-file/dev-mapper-fedora_krowka%5Cx2dswap.swap

Here is a minimal test recipe:

    root@not-omega:/# dpkg-query -W squashfs-tools-ng
    squashfs-tools-ng   1.0.3-1
    root@not-omega:/# mkdir a
    root@not-omega:/# touch a/b\\c
    root@not-omega:/# find a -ls
        11806      0 drwxr-xr-x   2 root     root           60 Jan  8 19:43 a
        11807      0 -rw-r--r--   1 root     root            0 Jan  8 19:43 
a/b\\c
    root@not-omega:/# gensquashfs -D a a.sq
    packing b/c
    b/c: No such file or directory

Note that original squashfs-tools can handle this file, and
squashfs-tools-ng can read the result:

    root@not-omega:/# dpkg-query -W squashfs-tools
    squashfs-tools  1:4.4-2
    root@not-omega:/# mksquashfs a a.sq -noappend
    [...]
    root@not-omega:/# rdsquashfs --list / a.sq
    -rw-r--r-- 0/0 0 b\c
    root@not-omega:/# unsquashfs -ll a.sq
    Parallel unsquashfs: Using 4 processors
    1 inodes (0 blocks) to write

    drwxr-xr-x root/root                26 2021-01-08 19:43 squashfs-root
    -rw-r--r-- root/root                 0 2021-01-08 19:43 squashfs-root/b\c


This issue also occurs on squashfs-tools-ng 1.0.0-2.


-- System Information:
Debian Release: 10.7
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 
'proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: squashfs-tools-ng
Source-Version: 1.0.3-2
Done: Laszlo Boszormenyi (GCS) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
squashfs-tools-ng, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated 
squashfs-tools-ng package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 Jan 2021 20:57:22 +0100
Source: squashfs-tools-ng
Architecture: source
Version: 1.0.3-2
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 979595
Changes:
 squashfs-tools-ng (1.0.3-2) unstable; urgency=medium
 .
   * Backport upstream fix for normalization of slashes in filenames
     (closes: #979595).
Checksums-Sha1:
 86ff702c885b3ba221393064e2d95b738cc92048 2037 squashfs-tools-ng_1.0.3-2.dsc
 322d23a78303a66a8afe1b59e87178b1893d9824 4184 
squashfs-tools-ng_1.0.3-2.debian.tar.xz
Checksums-Sha256:
 412322e911fae13454ca2c77d8467decb6f55af4d9a331767a8afb749e5e60b4 2037 
squashfs-tools-ng_1.0.3-2.dsc
 3eddda6a2cd4bf0cfa7fb2c912c130364624e3259ca90b540e4fbacd4d2810ab 4184 
squashfs-tools-ng_1.0.3-2.debian.tar.xz
Files:
 908958c3975fd25ba3c28fe4490bb2b5 2037 kernel optional 
squashfs-tools-ng_1.0.3-2.dsc
 93641c5ca018754423cbed19fad0097d 4184 kernel optional 
squashfs-tools-ng_1.0.3-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAl/4wTQACgkQ3OMQ54ZM
yL8MmA/+KhU5bMBg3PJJRF1+bAnWuAHkQQX/0CZ4DL2/LZynVbkPUWrgLatJkq1Z
1X+rLT5X8by3I1O78Jni2XPvM3OMpIVdiM23eaZsUXHLs9SiF1UphoABQk6Bp32G
kotRFvdSJ7PsB2o7sSWThcsY4+QMlebhi2U1fye16EO8OxObN9LbfQUW57v15MY2
95waiZZqj87HOMCMzLXCTKMaOwLpb4RMrMZ3Vq00nq/cJz3LuPrliLle5jO/DB6V
uSTBz7TFC5puobKcLQomR9tnG81Uhv39LzXFZwrpX3wQPb2YVDp8HOvYLzh3znJh
bKnz+elXH25X1igS+gS7aUrsw+vjlcdOcbNt1QcPal3lgbKhprubpIcdAIpxSdGu
aTnCSGgf314X94KInoBrIvzjjmyxoqY6werze2L0qyGbcal1Vbke4sKKrYTM5Tgo
Gz7/SVVLnuEDLnlaSSB4PuUdvtN9EkxyAccaegsqvaK8dJCggKniZLle/IZLvu1k
4OjGnwzdMYTxdciRwh/3g0tq4ApWxn8lRKV+hyeKFOE14OR63xP2MC9IXH4hs7go
tKCht7i9vVhBSQ9dNNivc3I6/LV1hdR8CErpdOoLOwAKxu+tbOSPVnq57gxWGuO2
8XclD3M/cAbEKwUFQ4Aj98Qud8fVffWwTtroHtp7Dd9szB5wyVU=
=vwyV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to