View Issue Details

IDProjectCategoryView StatusLast Update
0000662fileGeneralpublic2025-05-30 13:25
Reporterzagge Assigned Tochristos  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in VersionHEAD 
Summary0000662: Files starting with Obj are marked as Apache Avro
DescriptionThe current apache avor rule uses the 4 byte of the file as version number. So javaScript files starting with Object are recognised as "Apache Avro version 101".

Accoring to https://avro.apache.org/docs/1.12.0/specification/#object-container-files the magic of the file is Obj\x01

Example of a avro file https://github.com/Teradata/kylo/blob/master/samples/sample-data/avro/userdata1.avro

A file with the content "Objects are used in programming" should not be detected as Apache avro.
Tagsmagic

Activities

christos

2025-05-30 13:25

manager   ~0004253

Fixed, thanks.

Issue History

Date Modified Username Field Change
2025-05-30 06:36 zagge New Issue
2025-05-30 06:36 zagge Tag Attached: magic
2025-05-30 13:25 christos Assigned To => christos
2025-05-30 13:25 christos Status new => assigned
2025-05-30 13:25 christos Status assigned => resolved
2025-05-30 13:25 christos Resolution open => fixed
2025-05-30 13:25 christos Fixed in Version => HEAD
2025-05-30 13:25 christos Note Added: 0004253