Wireshark-bugs: [Wireshark-bugs] [Bug 9054] vwr libwiretap heuristic file type recognizer mis-id
Date: Sun, 19 Jan 2014 23:58:49 +0000

Comment # 6 on bug 9054 from
Thanks for the commit Guy. I felt this was a good idea but didn't have time to
work on it myself.

Since magic numbers take precedence over file extensions, there is still a risk
that non-magic files may be incorrectly recognized by magic number checks due
to coincidental matches, but hopefully this should be rare.

The only work-around to this would be making file extensions higher priority
than magic numbers, e.g. if a file extension is present run the matching type
checks first (magic then other heuristic), if no match then all magic number
checks, and finally any remaining heuristics. If no file extension is present
run magic number checks first then other heuristics.


You are receiving this mail because:
  • You are watching all bug changes.