Your message dated Sat, 03 May 2008 12:58:22 +0200
with message-id <[EMAIL PROTECTED]>
and subject line file: fixed in 4.24-1
has caused the Debian Bug report #466033,
regarding file: Relative offsets broken after pstring
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.)
--
466033: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466033
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: file
Version: 4.23-2
Severity: normal
After a pstring, relative offsets have an off-by-one error:
$ cat magic
0 ubelong <256
>3 pstring x "%s"
>>&0 ubelong x %x
$ hd testfile
00000000 00 00 00 04 6e 61 6d 65 12 34 56 78 |....name.4Vx|
0000000c
$ file -m magic testfile
testfile: "name" 65123456
The number should contain 12345678, not 65123456. The 65 comes from
the 'e' in "name", the last character in the pstring.
- Josh Triplett
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages file depends on:
ii libc6 2.7-8 GNU C Library: Shared libraries
ii libmagic1 4.23-2 File type determination library us
file recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 4.24-1
Hi,
this bug has been fixed in file 4.24-1, thus closing. Thanks a lot to
Reuben Thomas for making this possible in upstream.
Regards,
Daniel
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: [EMAIL PROTECTED]
Internet: http://people.panthera-systems.net/~daniel-baumann/
--- End Message ---