Bug#928009: file: "name use count (30) exceeded error with file on TIFF image inside mail"
Control: tags -1 + fixed-upstream Control: forwarded -1 https://bugs.astron.com/view.php?id=152 https://github.com/file/file/commit/df476c81d3e4171ec5d68fb259108ba875ae2caa On Sat, 14 Mar 2020 14:29:19 +0800 Paul Wise wrote: > I've forwarded the issue to the upstream bug tracker. Upstream fixed this issue by bumping the name recursion level to 50. I would love to see a backport of this fix to stretch and buster. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#928009: file: "name use count (30) exceeded error with file on TIFF image inside mail"
Control: forwarded -1 https://bugs.astron.com/view.php?id=152 https://github.com/file/file/commit/52400a1cf98e4cc252920239c291c66648c8fb3d I've forwarded the issue to the upstream bug tracker. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#928009: file: "name use count (30) exceeded error with file on TIFF image inside mail"
Control: forwarded -1 https://github.com/file/file/commit/52400a1cf98e4cc252920239c291c66648c8fb3d On Sat, 14 Mar 2020 12:58:53 +0800 Paul Wise wrote: > Another workaround for this issue is to decrease the bytes limit: I've bisected this upstream and the first commit that came up was a change to the bytes limit, but changing the bytes limit on that old version also causes failure, so I redid the bisection using the newer bytes limit and came up with the above commit that adds support for using recursion to traverse the JPEG markers and printing JPEG info. https://github.com/file/file/commit/dd89d293fe62ca55542a5637e239b33404c58a8d -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#928009: file: "name use count (30) exceeded error with file on TIFF image inside mail"
On Wed, 24 Jul 2019 13:41:54 +0800 Paul Wise wrote: > The workaround for this issue is to increase the name recursion limit: Another workaround for this issue is to decrease the bytes limit: $ file --parameter bytes=857393 ../test.jpg ; echo $? ../test.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 240x240, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=8, description=Picture saved with settings embedded., orientation=upper-left, xresolution=148, yresolution=156, resolutionunit=2, software=Adobe Photoshop Lightroom 6.1.1 (Windows), datetime=2017:08:17 11:16:47] 0 -- bye, pabs https://bonedaddy.net/pabs3/ signature.asc Description: This is a digitally signed message part
Bug#928009: file: "name use count (30) exceeded error with file on TIFF image inside mail"
On Wed, 24 Jul 2019 13:24:45 +0800 Paul Wise wrote: > $ wget -q > https://bugs.launchpad.net/ubuntu/+source/file/+bug/1717991/+attachment/4952354/+files/test.jpg > $ file test.jpg ; echo $? > test.jpg: ERROR: JPEG image data, JFIF standard 1.01, resolution (DPI), > density 240x240, segment length 16, Exif Standard: [TIFF image data, > big-endian, direntries=8, description=Picture saved with settings > embedded., orientation=upper-left, xresolution=148, yresolution=156, > resolutionunit=2, software=Adobe Photoshop Lightroom 6.1.1 (Windows), > datetime=2017:08:17 11:16:47] name use count (30) exceeded > 1 The workaround for this issue is to increase the name recursion limit: $ file --parameter name=300 test.jpg ; echo $? test.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 240x240, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=8, description=Picture saved with settings embedded., orientation=upper-left, xresolution=148, yresolution=156, resolutionunit=2, software=Adobe Photoshop Lightroom 6.1.1 (Windows), datetime=2017:08:17 11:16:47], baseline, precision 8, 2335x1831, components 3 0 -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#928009: file: "name use count (30) exceeded error with file on TIFF image inside mail"
Control: found -1 file/1:5.37-4 Control: found -1 file/1:5.35-4 Control: found -1 file/1:5.30-1 On Fri, 26 Apr 2019 11:01:37 +0200 NoviceFileBug wrote: >ERROR: JPEG image data, Exif standard: [TIFF image data, big-endian, > direntries=12, model=POCOPHONE F1, height=3024, orientation=upper-right, > datetime=2019:04:25 22:08:11, resolutionunit=2, GPS-Data, xresolution=191, > yresolution=199, manufacturer=Xiaomi, width=4032] name use count (30) exceeded At work we hit this bug report too (in stretch, buster, unstable). We discovered that it has been reported before: https://bugzilla.redhat.com/show_bug.cgi?id=1201630 https://bugs.launchpad.net/ubuntu/+source/file/+bug/1717991 The file from the Fedora bug report works fine now: http://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Apollo_11_Launch2.jpg/192px-Apollo_11_Launch2.jpg But the file from the Ubuntu bug report still fails: $ wget -q https://bugs.launchpad.net/ubuntu/+source/file/+bug/1717991/+attachment/4952354/+files/test.jpg $ file test.jpg ; echo $? test.jpg: ERROR: JPEG image data, JFIF standard 1.01, resolution (DPI), density 240x240, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=8, description=Picture saved with settings embedded., orientation=upper-left, xresolution=148, yresolution=156, resolutionunit=2, software=Adobe Photoshop Lightroom 6.1.1 (Windows), datetime=2017:08:17 11:16:47] name use count (30) exceeded 1 -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#928009: file: "name use count (30) exceeded error with file on TIFF image inside mail"
Package: file Version: 1:5.30-1+deb9u2 Severity: normal Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Received mail with image in attachment. Mail stay in que with errror: said: 451 4.5.0 Error in processing, mime_decode-1 FAILED: 'file' utility (/usr/bin/file) failed, exit 1 at (eval 121) line 160. (in reply to end of DATA command)) * What exactly did you do (or not do) that was effective (orineffective)? Tested manually with /usr/bin/file part/p004 on file inside mail. * What was the outcome of this action? ERROR: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=12, model=POCOPHONE F1, height=3024, orientation=upper-right, datetime=2019:04:25 22:08:11, resolutionunit=2, GPS-Data, xresolution=191, yresolution=199, manufacturer=Xiaomi, width=4032] name use count (30) exceeded * What outcome did you expect instead? Without error. *** End of the template - remove these template lines *** -- System Information: Debian Release: 9.8 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.9.0-8-686-pae (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages file depends on: ii libc6 2.24-11+deb9u4 ii libmagic1 1:5.30-1+deb9u2 ii zlib1g 1:1.2.8.dfsg-5 file recommends no packages. file suggests no packages. -- no debconf information