[File] [PATCH] Magdir/images, intel for Atari DEGAS bitmap *.pi1 *.pi2 *.pi3 *.pc1 *.pc2 *.pc3
Christos Zoulas
christos at zoulas.com
Fri Oct 7 17:42:21 UTC 2022
I've commented them out for now.
christos
> On Oct 6, 2022, at 3:48 PM, Christoph Biedl <astron.com.bwoj at manchmal.in-ulm.de> wrote:
>
> Jörg Jenderek wrote...
>
>> +# DEGAS mid-res compressed bitmap *.pc2 like: abydos.pc2 ARTIS3.PC2 SMTHDRAW.PC2 STAR_2K.PC2 TX2_DEMO.PC2
>> +0 beshort 0x8001
>> +>0 use degas-bitmap
>> +# DEGAS high-res compressed bitmap *.pc3 like: abydos.pc3 COYOTE.PC3 ELEPHANT.PC3 TX2_DEMO.PC3 SMTHDRAW.PC3
>> +0 beshort 0x8002
>> +>0 use degas-bitmap
>
> These two only take the first 16 bit of a file into account to decide on
> the file type. In my not so humble opinion, file/libmagic should probe
> *at least* for 33 bit before deciding, i.e. printing something.
>
> As a result of the above change, I've seen several false-positives, e.g.
> on a python pickle file.¹
>
> Please harden the pattern - for the time being I have no choice but
> to disable the lines above.
>
> Christoph
>
> ¹ https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=505463;filename=factor_cache.pickle;msg=5
>
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20221007/8e354fc5/attachment.asc>
More information about the File
mailing list