NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/59526: file(1) reports "lhs/off overflow" for gz files
>Number: 59526
>Category: bin
>Synopsis: file(1) reports "lhs/off overflow" for gz files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 12 19:40:00 +0000 2025
>Originator: Jan Schaumann
>Release: NetBSD 10.1
>Organization:
>Environment:
System: NetBSD panix.netmeister.org 10.1 NetBSD 10.1 (GENERIC_PANIX) #0: Thu Dec 19 23:22:11 EST 2024 root%vc1.vc.panix.com@localhost:/usr/src/sys/arch/amd64/compile/GENERIC_PANIX amd64
Architecture: x86_64
Machine: amd64
>Description:
Since updating to NetBSD 10.1 from 9.3, file(1) started reporting "lhs/off overflow"
when run against gzipped text files.
>How-To-Repeat:
$ echo foo > /tmp/f
$ file /tmp/f
/tmp/f: ASCII text
$ gzip /tmp/f
$ file /tmp/f.gz
lhs/off overflow 3080456200 0
/tmp/f.gz: gzip compressed data, was "f", last modified: Sat Jul 12 19:26:42 2025, max compression, from Unix, truncated
$ ident `which file`
/usr/bin/file:
$NetBSD: crt0.S,v 1.4 2018/11/26 17:37:46 joerg Exp $
$NetBSD: crt0-common.c,v 1.27 2022/06/21 06:52:17 skrll Exp $
$NetBSD: crti.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
$NetBSD: crtbegin.S,v 1.2 2010/11/30 18:37:59 joerg Exp $
$NetBSD: file.c,v 1.17 2022/09/24 20:21:46 christos Exp $
$NetBSD: crtend.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
$NetBSD: crtn.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
$
Just in case this has to do with gzip:
$ ident `which gzip`
/usr/bin/gzip:
$NetBSD: crt0.S,v 1.4 2018/11/26 17:37:46 joerg Exp $
$NetBSD: crt0-common.c,v 1.27 2022/06/21 06:52:17 skrll Exp $
$NetBSD: crti.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
$NetBSD: crtbegin.S,v 1.2 2010/11/30 18:37:59 joerg Exp $
$NetBSD: gzip.c,v 1.118.2.1 2024/02/04 11:07:40 martin Exp $
$NetBSD: unxz.c,v 1.8.10.1 2024/10/14 18:11:35 martin Exp $
$NetBSD: crtend.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
$NetBSD: crtn.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index