Package: file
Version: 4.20-3
Followup-For: Bug #209043

This bug is still present in file 4.20-3. The problem is the following test:

0       beshort&0xFFFE          0xFFFE
>2      ubyte&0xF0      >0x0F
>>2     ubyte&0xF0      <0xE1           MPEG ADTS, layer I, v1

This is a problem because 0xfffe is a valid BOM for Unicode text
files, and the next two lines could apply to many text files. For me
it fails, for example, on a 16-bit Unicode text file.

I'm sorry, I don't have a fix (I know nothing about this format).
However, I do urge that this rule be commented out for now until it
can be tightened up, and MPA/MP2 files are, I suspect, much less often
processed by file than Unicode text.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages file depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libmagic1                   4.20-3       File type determination library us

file recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to