Re:"LibreOffice works 365 days a year. Just saying."
by SpaceNoodled on Friday November 13, 2026 @02:25PM
(#50488469)
Assuming file type by name rather than by contents opens a whole 'nother can of worms.
Re:"LibreOffice works 365 days a year. Just saying."
by merb on Friday November 13, 2026 @02:27PM
(#50488498)
Tbf magic bytes are also not that helpful here
Re:"LibreOffice works 365 days a year. Just saying."
by yrjrjjrjjtjjr on Friday November 13, 2026 @03:34PM
(#50489258)
Content injection vulnerability is bad, and that's the core of what sniffing does. Failing randomly like in this case is mild in comparison.
Like I get that sometimes you have to do what you have to do, but sniffing should be a last resort.
OK but although I love the file utility, why does OpenOffice and/or CUPS rely on it to... print a file that ends with the .ps extension?
It's kinda begging for troubles.