Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1230666

Bug#988451: file: Latex source files with directives detected as Postscript

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#988451: file: Latex source files with directives detected as Postscript
Date 2025-01-28 14:40 +0100
Message-ID <K9TYR-cCsq-9@gated-at.bofh.it> (permalink)
References <Cegim-1xa-3@gated-at.bofh.it> <Cegim-1xa-3@gated-at.bofh.it> <Facq5-anxo-7@gated-at.bofh.it> <Cegim-1xa-3@gated-at.bofh.it> <Facq5-anxo-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Control: tags -1 upstream
Control: forwarded -1 https://bugs.astron.com/view.php?id=618

Hi,

On 2022-09-27 08:26:32 +0200, Hilmar Preuße wrote:
> The file too starts with "%!". According to [1] the magic byte for
> Postscript is "%!PS". So the check is not strict enough to rule out false
> positives.
> 
> Hilmar
> 
> [1] https://en.wikipedia.org/wiki/List_of_file_signatures

I also found this bug yesterday, and I've reported it upstream.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#988451: file: Latex source files with directives detected as Postscript Vincent Lefevre <vincent@vinc17.net> - 2025-01-28 14:40 +0100
  Bug#988451: file: Latex source files with directives detected as Postscript Vincent Lefevre <vincent@vinc17.net> - 2025-01-28 15:40 +0100

csiph-web