]> granicus.if.org Git - file/log
file
5 years agoPrevent conflicts with CRI ADX and Targa images. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:18 +0000 (01:16 +0000)]
Prevent conflicts with CRI ADX and Targa images. (GerbiSoft)

5 years agoAdded a MIME type and default file extension for (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:17 +0000 (01:16 +0000)]
Added a MIME type and default file extension for (GerbiSoft)

5 years agoAdded Scaleform video. (*.usm) (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:16 +0000 (01:16 +0000)]
Added Scaleform video. (*.usm) (GerbiSoft)

5 years agofix casts and bounds check (found by oss-fuzz)
Christos Zoulas [Wed, 20 Feb 2019 16:15:47 +0000 (16:15 +0000)]
fix casts and bounds check (found by oss-fuzz)

5 years agoupdate version FILE5_36
Christos Zoulas [Wed, 20 Feb 2019 15:17:11 +0000 (15:17 +0000)]
update version

5 years agomake empty zip beat regular zip again.
Christos Zoulas [Wed, 20 Feb 2019 15:07:44 +0000 (15:07 +0000)]
make empty zip beat regular zip again.

5 years agouse c++ casts everywhere.
Christos Zoulas [Wed, 20 Feb 2019 02:35:27 +0000 (02:35 +0000)]
use c++ casts everywhere.

5 years agomention recent fixes
Christos Zoulas [Tue, 19 Feb 2019 20:34:57 +0000 (20:34 +0000)]
mention recent fixes

5 years agoupdate comment
Christos Zoulas [Tue, 19 Feb 2019 20:34:42 +0000 (20:34 +0000)]
update comment

5 years agoPR/61: tmc: Add UCS-32 built-in detection.
Christos Zoulas [Tue, 19 Feb 2019 20:30:35 +0000 (20:30 +0000)]
PR/61: tmc: Add UCS-32 built-in detection.

5 years agoMention that the apple filetype/creator is only available for entries that
Christos Zoulas [Mon, 18 Feb 2019 18:59:25 +0000 (18:59 +0000)]
Mention that the apple filetype/creator is only available for entries that
have it (Kamil Dudka)

5 years agofix type
Christos Zoulas [Mon, 18 Feb 2019 17:58:50 +0000 (17:58 +0000)]
fix type

5 years agoPR/62: spinpx: limit size of file_printable.
Christos Zoulas [Mon, 18 Feb 2019 17:46:56 +0000 (17:46 +0000)]
PR/62: spinpx: limit size of file_printable.

5 years agoPR/62: spinpx: Avoid non-nul-terminated string read.
Christos Zoulas [Mon, 18 Feb 2019 17:30:41 +0000 (17:30 +0000)]
PR/62: spinpx: Avoid non-nul-terminated string read.

5 years agoPR/59: magicus: Add java module and image magic.
Christos Zoulas [Mon, 18 Feb 2019 16:53:11 +0000 (16:53 +0000)]
PR/59: magicus: Add java module and image magic.

5 years agoAdd Foxit (pdf reader) add on format (Joerg Jenderek)
Christos Zoulas [Sat, 16 Feb 2019 14:01:25 +0000 (14:01 +0000)]
Add Foxit (pdf reader) add on format (Joerg Jenderek)

5 years agoFix indirect offset overflow calculation (B. Watson)
Christos Zoulas [Thu, 14 Feb 2019 00:25:59 +0000 (00:25 +0000)]
Fix indirect offset overflow calculation (B. Watson)

5 years agonew remarkable format from ax3l at github
Christos Zoulas [Sat, 9 Feb 2019 17:56:01 +0000 (17:56 +0000)]
new remarkable format from ax3l at github

5 years agoupdate location and name from fxlb at github
Christos Zoulas [Sat, 9 Feb 2019 17:52:18 +0000 (17:52 +0000)]
update location and name from fxlb at github

5 years agosay this contains libmagic too.
Christos Zoulas [Wed, 6 Feb 2019 00:20:56 +0000 (00:20 +0000)]
say this contains libmagic too.

5 years agoFor dynamic binaries let the df_1 pie flag determine if we are pie or a shared
Christos Zoulas [Fri, 1 Feb 2019 17:58:48 +0000 (17:58 +0000)]
For dynamic binaries let the df_1 pie flag determine if we are pie or a shared
object, and ignore the mode bits.

6 years agoAdd Linux PowerPC core offsets for Linux (which are off-by-4 of the regular
Christos Zoulas [Tue, 22 Jan 2019 16:28:42 +0000 (16:28 +0000)]
Add Linux PowerPC core offsets for Linux (which are off-by-4 of the regular
offsets), after the regular Linux offsets so that there is no confusion.
The linux offsets are tried first since they are before, so on PPC they
should contain binary data and not match. Addition requested by:
Ondrej Dubaj/Kamil Dudka

6 years agoMake netpbm beat DOS/MBR magic again (Kamil Dudka)
Christos Zoulas [Tue, 22 Jan 2019 16:17:25 +0000 (16:17 +0000)]
Make netpbm beat DOS/MBR magic again (Kamil Dudka)

6 years agofix documentation to match the source.
Christos Zoulas [Mon, 21 Jan 2019 14:56:53 +0000 (14:56 +0000)]
fix documentation to match the source.

6 years agoquote the grouping operator ({)
Christos Zoulas [Fri, 18 Jan 2019 15:48:53 +0000 (15:48 +0000)]
quote the grouping operator ({)

6 years agoPR/57: Also look for docProps
Christos Zoulas [Fri, 18 Jan 2019 15:39:18 +0000 (15:39 +0000)]
PR/57: Also look for docProps

6 years agoAdd bamboo tracker (Alex Myczko)
Christos Zoulas [Wed, 16 Jan 2019 19:35:21 +0000 (19:35 +0000)]
Add bamboo tracker (Alex Myczko)

6 years agoAdd support for older PA-RISC versions (Sergei Trofimovich)
Christos Zoulas [Wed, 16 Jan 2019 19:33:35 +0000 (19:33 +0000)]
Add support for older PA-RISC versions (Sergei Trofimovich)

6 years agoclojure magic from Jason Felice
Christos Zoulas [Wed, 16 Jan 2019 19:31:06 +0000 (19:31 +0000)]
clojure magic from Jason Felice

6 years agoImprove ar detection and move hp archive info here (Joerg Jenderek).
Christos Zoulas [Sun, 13 Jan 2019 00:33:19 +0000 (00:33 +0000)]
Improve ar detection and move hp archive info here (Joerg Jenderek).

6 years agoRemove ar magic which is really "!<ar", and covered by archive.
Christos Zoulas [Sun, 13 Jan 2019 00:32:38 +0000 (00:32 +0000)]
Remove ar magic which is really "!<ar", and covered by archive.

6 years agoAdd windows "WER" file support (Joerg Jenderek)
Christos Zoulas [Fri, 11 Jan 2019 21:00:26 +0000 (21:00 +0000)]
Add windows "WER" file support (Joerg Jenderek)

6 years agoprettier output for Garmin VPM files (Joerg Jenderek)
Christos Zoulas [Wed, 9 Jan 2019 02:59:26 +0000 (02:59 +0000)]
prettier output for Garmin VPM files (Joerg Jenderek)

6 years agohandle encrypted garmin voice files (Joerg Jenderek)
Christos Zoulas [Fri, 4 Jan 2019 14:01:49 +0000 (14:01 +0000)]
handle encrypted garmin voice files (Joerg Jenderek)

6 years agoAvoid OOB read (found by ASAN reported by F. Alonso)
Christos Zoulas [Wed, 2 Jan 2019 19:44:14 +0000 (19:44 +0000)]
Avoid OOB read (found by ASAN reported by F. Alonso)

6 years agofactor out netbsd common code.
Christos Zoulas [Tue, 1 Jan 2019 03:11:23 +0000 (03:11 +0000)]
factor out netbsd common code.

6 years agoimprove garmin maps (Joerg Jenderek)
Christos Zoulas [Fri, 28 Dec 2018 00:22:34 +0000 (00:22 +0000)]
improve garmin maps (Joerg Jenderek)

6 years agoPrevent misidentifying The Norton Commander Cleanup Utility as openwrt
Christos Zoulas [Fri, 21 Dec 2018 17:37:33 +0000 (17:37 +0000)]
Prevent misidentifying The Norton Commander Cleanup Utility as openwrt
firmware files (Joerg Jenderek)

6 years agoAdd VHDX file support (Joerg Jenderek)
Christos Zoulas [Sat, 15 Dec 2018 18:56:07 +0000 (18:56 +0000)]
Add VHDX file support (Joerg Jenderek)

6 years agofix name
Christos Zoulas [Tue, 11 Dec 2018 21:10:33 +0000 (21:10 +0000)]
fix name

6 years agofix cut-n-pasto for regex_max (Vsevolod Stakhov)
Christos Zoulas [Tue, 11 Dec 2018 14:41:11 +0000 (14:41 +0000)]
fix cut-n-pasto for regex_max (Vsevolod Stakhov)

6 years agoAdd blocksize for > 2GB files.
Christos Zoulas [Mon, 10 Dec 2018 21:06:53 +0000 (21:06 +0000)]
Add blocksize for > 2GB files.

6 years agoPR/51: Use more recent font mime types per:
Christos Zoulas [Mon, 10 Dec 2018 20:58:34 +0000 (20:58 +0000)]
PR/51: Use more recent font mime types per:
https://www.iana.org/assignments/media-types/media-types.xhtml#table-font

6 years agouse 1,255 because of bsd "spencer" regex.
Christos Zoulas [Mon, 10 Dec 2018 20:57:41 +0000 (20:57 +0000)]
use 1,255 because of bsd "spencer" regex.

6 years agoImprove android backups (Joerg Jenderek)
Christos Zoulas [Tue, 4 Dec 2018 14:24:01 +0000 (14:24 +0000)]
Improve android backups (Joerg Jenderek)

6 years agoVersion 2 and above files are better known as QCOW2 not QCOW (Ondrej Dubaj)
Christos Zoulas [Tue, 4 Dec 2018 12:12:53 +0000 (12:12 +0000)]
Version 2 and above files are better known as QCOW2 not QCOW (Ondrej Dubaj)

6 years agoclamav improvements from Joerg Jenderek
Christos Zoulas [Sun, 2 Dec 2018 22:35:34 +0000 (22:35 +0000)]
clamav improvements from Joerg Jenderek

6 years agoAdd acronis true image backup (Joerg Jenderek)
Christos Zoulas [Fri, 30 Nov 2018 12:44:59 +0000 (12:44 +0000)]
Add acronis true image backup (Joerg Jenderek)

6 years agoAdd Avira antivirus entries (Joerg Jenderek)
Christos Zoulas [Tue, 27 Nov 2018 20:12:21 +0000 (20:12 +0000)]
Add Avira antivirus entries (Joerg Jenderek)

6 years agoAvoid over-trimming UCS16 text, and ending up losing the last character.
Christos Zoulas [Tue, 27 Nov 2018 17:34:32 +0000 (17:34 +0000)]
Avoid over-trimming UCS16 text, and ending up losing the last character.

6 years agoAdd mozilla json compressed data files (Joerg Jenderek)
Christos Zoulas [Mon, 26 Nov 2018 16:24:40 +0000 (16:24 +0000)]
Add mozilla json compressed data files (Joerg Jenderek)

6 years agoBetter VHD detection, from joerg jenderek
Christos Zoulas [Fri, 23 Nov 2018 09:46:01 +0000 (09:46 +0000)]
Better VHD detection, from joerg jenderek

6 years agonew magic for configuration dump of Tasmota firmware for ESP8266 based devices
Christos Zoulas [Tue, 20 Nov 2018 18:57:17 +0000 (18:57 +0000)]
new magic for configuration dump of Tasmota firmware for ESP8266 based devices
by Espressif https://github.com/arendst/Sonoff-Tasmota/
From Joerg Jenderek

6 years agoChange the mime types of Microsoft icons and add a space in the description.
Christos Zoulas [Sun, 11 Nov 2018 01:58:19 +0000 (01:58 +0000)]
Change the mime types of Microsoft icons and add a space in the description.
Joerg Jenderek

6 years agoFrom Michal:
Christos Zoulas [Fri, 9 Nov 2018 17:58:28 +0000 (17:58 +0000)]
From Michal:

The most correct way to detect the format would probably be to first
check for 'STOP' at the end, read the unsigned long preceding it and use
it as (negative) offset from end of file where 'XPAKPACK' is to be
found.  However, file does not seem to support that kind of lookup.

Therefore, I went for the second best thing and checking for additional
'XPAKSTOP' terminating the metadata blob.

Technically, the information could be usefully amended by stating
the compression used.  However, it seems that positive offsets following
negative offsets do not work, and reversing the logic would require
a lot of repetition, so I presumed it's not worth the effort.
You can view, comment on, or merge this pull request online at:

[This note is for me to fix positive offset from starting from negative
offsets.]

6 years agoAdd eBPF magic from Matteo Croce
Christos Zoulas [Fri, 9 Nov 2018 17:51:12 +0000 (17:51 +0000)]
Add eBPF magic from Matteo Croce

6 years agoAdd magic for the NEC VE, from Holger Berger.
Christos Zoulas [Fri, 9 Nov 2018 17:48:59 +0000 (17:48 +0000)]
Add magic for the NEC VE, from Holger Berger.

6 years agoNeed to pass found_match from match -> mget -> match so that the USE case
Christos Zoulas [Mon, 5 Nov 2018 18:03:25 +0000 (18:03 +0000)]
Need to pass found_match from match -> mget -> match so that the USE case
propagates the value.

6 years agoreplace unintended tabs with spaces. from dgk at github
Christos Zoulas [Sun, 28 Oct 2018 22:37:02 +0000 (22:37 +0000)]
replace unintended tabs with spaces. from dgk at github

6 years agoIf we are asked to print annotations and there are no annotations in
Christos Zoulas [Wed, 24 Oct 2018 13:15:35 +0000 (13:15 +0000)]
If we are asked to print annotations and there are no annotations in
the matching entry, return 0 but break the search. This is handled
by introducing 'found_match' and separating it's function from returnval.
XXX: Nested entries.

6 years agoIf we encountered a match (an entry with description) even if we are not
Christos Zoulas [Tue, 23 Oct 2018 18:34:46 +0000 (18:34 +0000)]
If we encountered a match (an entry with description) even if we are not
printing (i.e. we are doing mime or something else), set the return value,
so that we stop searching. This avoids the issue where mime matched later
entries in the magic list, instead of matching nothing (entries with no
mime that would have matched earlier).

6 years agoPR/49: giosh94mhz: stricter algol changes (only look at the first 1K)
Christos Zoulas [Fri, 19 Oct 2018 01:04:21 +0000 (01:04 +0000)]
PR/49: giosh94mhz: stricter algol changes (only look at the first 1K)

6 years agomore lint fixes
Christos Zoulas [Fri, 19 Oct 2018 00:33:04 +0000 (00:33 +0000)]
more lint fixes

6 years agolint fixes
Christos Zoulas [Fri, 19 Oct 2018 00:26:26 +0000 (00:26 +0000)]
lint fixes

6 years ago- C++ cast
Christos Zoulas [Fri, 19 Oct 2018 00:26:08 +0000 (00:26 +0000)]
- C++ cast
- return 0 instead of -1 for error in donote

6 years agoescape >< FILE5_35
Christos Zoulas [Thu, 18 Oct 2018 23:35:42 +0000 (23:35 +0000)]
escape ><

6 years agowelcome to file-5.35
Christos Zoulas [Thu, 18 Oct 2018 23:33:47 +0000 (23:33 +0000)]
welcome to file-5.35

6 years ago- fix whitespace
Christos Zoulas [Thu, 18 Oct 2018 16:49:19 +0000 (16:49 +0000)]
- fix whitespace
- call all pcap files pcap instead of tcpdump
- add timestamp info (flxb)

6 years agoAdd AMOS (Amiga Basic Language) file format support (Stuart Caie)
Christos Zoulas [Tue, 16 Oct 2018 18:57:19 +0000 (18:57 +0000)]
Add AMOS (Amiga Basic Language) file format support (Stuart Caie)

6 years agoAdd biosig from Alois Schloeg
Christos Zoulas [Tue, 16 Oct 2018 12:07:08 +0000 (12:07 +0000)]
Add biosig from Alois Schloeg

6 years ago- use SIZE_T_FORMAT instead of 'z' in size_t format strings
Christos Zoulas [Mon, 15 Oct 2018 16:29:16 +0000 (16:29 +0000)]
- use SIZE_T_FORMAT instead of 'z' in size_t format strings
- compile with c++ again

6 years agoAdd glibc NLS catalog magic (odubaj at redhat)
Christos Zoulas [Thu, 11 Oct 2018 15:35:43 +0000 (15:35 +0000)]
Add glibc NLS catalog magic (odubaj at redhat)

6 years agoPR/48: tianxiaogu: Avoid zerodivide
Christos Zoulas [Wed, 10 Oct 2018 17:41:10 +0000 (17:41 +0000)]
PR/48: tianxiaogu: Avoid zerodivide

6 years agoPR/47: roramirez: Add mime and extension for AMR.
Christos Zoulas [Tue, 9 Oct 2018 21:43:54 +0000 (21:43 +0000)]
PR/47: roramirez: Add mime and extension for AMR.

6 years agoPR/46: vitalyisaev2: Search deeper in the zip file for additional headers.
Christos Zoulas [Mon, 8 Oct 2018 18:25:25 +0000 (18:25 +0000)]
PR/46: vitalyisaev2: Search deeper in the zip file for additional headers.

6 years agoPR/32: Chai T. Rex: Handle file -s <(echo '#!/bin/sh\n') on bash/linux
Christos Zoulas [Tue, 2 Oct 2018 00:38:33 +0000 (00:38 +0000)]
PR/32: Chai T. Rex: Handle file -s <(echo '#!/bin/sh\n') on bash/linux

6 years agoPR/45: sezero: mach-o magic did not print all the architectures for > 2
Christos Zoulas [Mon, 1 Oct 2018 23:33:15 +0000 (23:33 +0000)]
PR/45: sezero: mach-o magic did not print all the architectures for > 2
architectures.

6 years agoPR/31: Fix pstring documentation
Christos Zoulas [Mon, 1 Oct 2018 19:59:53 +0000 (19:59 +0000)]
PR/31: Fix pstring documentation

6 years agoPR/38: bbc: Fix typo in Roslyn
Christos Zoulas [Mon, 1 Oct 2018 19:14:03 +0000 (19:14 +0000)]
PR/38: bbc: Fix typo in Roslyn

6 years agoRemove stale comment about gw.com
Christos Zoulas [Mon, 1 Oct 2018 19:12:33 +0000 (19:12 +0000)]
Remove stale comment about gw.com

6 years agoFix gw.com
Christos Zoulas [Mon, 1 Oct 2018 19:12:02 +0000 (19:12 +0000)]
Fix gw.com

6 years agoPR/40: Bump Cannon CR2 magic to beat TIFF
Christos Zoulas [Mon, 1 Oct 2018 19:10:56 +0000 (19:10 +0000)]
PR/40: Bump Cannon CR2 magic to beat TIFF

6 years agoPR/39: jidanni: change "frames" to "components"
Christos Zoulas [Mon, 1 Oct 2018 18:58:29 +0000 (18:58 +0000)]
PR/39: jidanni: change "frames" to "components"
https://pdfs.semanticscholar.org/presentation/c996/40e05b11319881c16352cdeae123ddbb0a3f.pdf

6 years agoPR/33: change mailman and bugs to https
Christos Zoulas [Mon, 1 Oct 2018 18:51:39 +0000 (18:51 +0000)]
PR/33: change mailman and bugs to https

6 years agoPR/33: fix for new bugs location
Christos Zoulas [Mon, 1 Oct 2018 18:50:31 +0000 (18:50 +0000)]
PR/33: fix for new bugs location

6 years agoremove tests for stddef.h, locale.h, limits.h all defined in c89 (petk)
Christos Zoulas [Mon, 1 Oct 2018 18:45:39 +0000 (18:45 +0000)]
remove tests for stddef.h, locale.h, limits.h all defined in c89 (petk)

6 years agosignal.h is part of c89, remove testing for it.
Christos Zoulas [Mon, 1 Oct 2018 18:43:01 +0000 (18:43 +0000)]
signal.h is part of c89, remove testing for it.

6 years agonew magic http://kicad-pcb.org from pointhi
Christos Zoulas [Mon, 1 Oct 2018 18:39:21 +0000 (18:39 +0000)]
new magic http://kicad-pcb.org from pointhi

6 years agoupdate audio, ahx details (alexmyczko)
Christos Zoulas [Mon, 1 Oct 2018 18:37:05 +0000 (18:37 +0000)]
update audio, ahx details (alexmyczko)

6 years agoadd some more fm song types (alexmyczko)
Christos Zoulas [Mon, 1 Oct 2018 18:34:41 +0000 (18:34 +0000)]
add some more fm song types (alexmyczko)

6 years agomake this compile again...
Christos Zoulas [Tue, 11 Sep 2018 16:33:21 +0000 (16:33 +0000)]
make this compile again...

6 years agomention FreeBSD core support
Christos Zoulas [Tue, 11 Sep 2018 00:39:04 +0000 (00:39 +0000)]
mention FreeBSD core support

6 years agoAdd FreeBSD-specific core file support (John Baldwin)
Christos Zoulas [Tue, 11 Sep 2018 00:37:33 +0000 (00:37 +0000)]
Add FreeBSD-specific core file support (John Baldwin)

6 years agoRemove trailing whitespace
Christos Zoulas [Sun, 9 Sep 2018 20:33:28 +0000 (20:33 +0000)]
Remove trailing whitespace
XXX: We can't do this yet from magic files because trailing whitespace is
significant.

6 years agoFix use-after-free (https://runtimeverification.com/). The free code was
Christos Zoulas [Sat, 1 Sep 2018 15:52:02 +0000 (15:52 +0000)]
Fix use-after-free (https://runtimeverification.com/). The free code was
never changed when the mlist was changed from a NULL-terminated list to
a circular one.

6 years agouse unsigned to print size (Francesco Lamonica)
Christos Zoulas [Sat, 1 Sep 2018 13:52:39 +0000 (13:52 +0000)]
use unsigned to print size (Francesco Lamonica)

6 years agoavoid accessing memory beyond the end of the buffer (found by oss-fuzz)
Christos Zoulas [Mon, 27 Aug 2018 06:17:23 +0000 (06:17 +0000)]
avoid accessing memory beyond the end of the buffer (found by oss-fuzz)

6 years agoreduce strenght to lose from infocom z commands
Christos Zoulas [Tue, 21 Aug 2018 12:48:41 +0000 (12:48 +0000)]
reduce strenght to lose from infocom z commands

6 years agoProvide a mime type for MPEG transport stream from:
Christos Zoulas [Tue, 21 Aug 2018 12:48:06 +0000 (12:48 +0000)]
Provide a mime type for MPEG transport stream from:
https://en.wikipedia.org/wiki/MPEG_transport_stream

6 years agorevert previous: we cannot default for mime/apple/etc on the first printed desc,
Christos Zoulas [Tue, 21 Aug 2018 08:58:16 +0000 (08:58 +0000)]
revert previous: we cannot default for mime/apple/etc on the first printed desc,
because they might be overriden later.