]>
granicus.if.org Git - file/log
Christos Zoulas [Sun, 2 Mar 2014 14:47:16 +0000 (14:47 +0000)]
add magic_errno (Debian#696113)
Christos Zoulas [Sun, 2 Mar 2014 00:01:29 +0000 (00:01 +0000)]
See Debian#657545: The "Linux/i386 core file" rule in linux:42 has a
bigger strength (70) than "JPEG image data" in jpeg:12 (50). As a
result, the provided file is mis-detected as "Linux/i386 core".
Christos Zoulas [Sat, 1 Mar 2014 22:32:39 +0000 (22:32 +0000)]
add some binary patterns for scripts (Debian#707014)
Christos Zoulas [Sat, 1 Mar 2014 03:04:06 +0000 (03:04 +0000)]
Debian#573362 (Christoph Biedl)
Christos Zoulas [Sat, 1 Mar 2014 03:01:45 +0000 (03:01 +0000)]
Debian#609211 from Christoph Biedl
Christos Zoulas [Thu, 27 Feb 2014 23:26:17 +0000 (23:26 +0000)]
add some class id matching (from Christoph Biedl)
Christos Zoulas [Tue, 25 Feb 2014 20:52:02 +0000 (20:52 +0000)]
Fix debugging build.
Christos Zoulas [Tue, 25 Feb 2014 20:28:16 +0000 (20:28 +0000)]
comment out, too weak magic
Christos Zoulas [Fri, 21 Feb 2014 14:32:48 +0000 (14:32 +0000)]
Fix memory leak (Anatol Belski)
kim [Tue, 18 Feb 2014 18:51:51 +0000 (18:51 +0000)]
I probably wouldn't remember all this next time, so writing it down.
kim [Tue, 18 Feb 2014 17:59:21 +0000 (17:59 +0000)]
Use C locale for LC_CTYPE around one more regcomp().
kim [Tue, 18 Feb 2014 11:09:31 +0000 (11:09 +0000)]
Cache old LC_CTYPE locale for restoring it later.
Cache old LC_CTYPE locale before setting it to "C", so
we can use it to restore LC_CTYPE instead of asking
setlocale() to scan the environment variables.
Christos Zoulas [Sat, 15 Feb 2014 01:30:52 +0000 (01:30 +0000)]
comment out python comment magic cause other things like mediawiki use it.
Reuben Thomas [Fri, 14 Feb 2014 20:43:48 +0000 (20:43 +0000)]
Add test case for CVE-2014-1943 (thanks, Christoph Biedl)
Reuben Thomas [Fri, 14 Feb 2014 20:42:37 +0000 (20:42 +0000)]
Remove obsolete test magic file
Reuben Thomas [Fri, 14 Feb 2014 20:40:41 +0000 (20:40 +0000)]
tests/Makefile.am: remove some redundancy in test file paths
Christos Zoulas [Wed, 12 Feb 2014 23:39:40 +0000 (23:39 +0000)]
new version
Christos Zoulas [Wed, 12 Feb 2014 23:39:28 +0000 (23:39 +0000)]
star expansions are not portable
Christos Zoulas [Wed, 12 Feb 2014 23:21:46 +0000 (23:21 +0000)]
new fix
Christos Zoulas [Wed, 12 Feb 2014 23:20:53 +0000 (23:20 +0000)]
count indirect recursion as recursion.
Christos Zoulas [Tue, 11 Feb 2014 15:44:54 +0000 (15:44 +0000)]
Recent changes
Christos Zoulas [Tue, 11 Feb 2014 15:41:25 +0000 (15:41 +0000)]
prevent infinite recursion.
Christos Zoulas [Tue, 11 Feb 2014 15:41:04 +0000 (15:41 +0000)]
Add magic error -E handling
Christos Zoulas [Thu, 6 Feb 2014 14:21:02 +0000 (14:21 +0000)]
new format for gpg keystores.
Christos Zoulas [Fri, 31 Jan 2014 01:57:00 +0000 (01:57 +0000)]
Add -E flag, mention previous changes
Christos Zoulas [Fri, 31 Jan 2014 01:51:32 +0000 (01:51 +0000)]
Add blackberry
Christos Zoulas [Wed, 8 Jan 2014 22:37:23 +0000 (22:37 +0000)]
PR/312: Nisse: Fix dolby lfeon and dsurmod
Christos Zoulas [Wed, 8 Jan 2014 22:29:21 +0000 (22:29 +0000)]
PR/300: Jung-uk Kim: Fix mime for tcl
Christos Zoulas [Wed, 8 Jan 2014 22:27:31 +0000 (22:27 +0000)]
PR/309: Aaron Reffett: Update jar.
Christos Zoulas [Wed, 8 Jan 2014 22:26:12 +0000 (22:26 +0000)]
PR/301: Ken Sharp: Recognize new make config files
Christos Zoulas [Wed, 8 Jan 2014 22:22:54 +0000 (22:22 +0000)]
PR/313: Aaron Reffett: Check properly for exceeding the offset.
Christos Zoulas [Wed, 8 Jan 2014 22:10:18 +0000 (22:10 +0000)]
PR/314: Jan Kaluza: Add QCW3 support
Christos Zoulas [Wed, 8 Jan 2014 22:02:06 +0000 (22:02 +0000)]
PR/318: Klortho: if handle_annotation prints something, mark it as printed.
kim [Wed, 8 Jan 2014 11:27:53 +0000 (11:27 +0000)]
Provide the link for subscribing to the mailing list.
Christos Zoulas [Tue, 7 Jan 2014 03:15:09 +0000 (03:15 +0000)]
add missing format attributes
Reuben Thomas [Mon, 6 Jan 2014 18:17:30 +0000 (18:17 +0000)]
Simplify adding a new test.
(at the price of using wildcards in tests/Makefile.am)
Add a regression test for PR #311.
Reuben Thomas [Mon, 6 Jan 2014 18:16:24 +0000 (18:16 +0000)]
Fix PR #311, .docx files incorrectly detected
Reuben Thomas [Mon, 6 Jan 2014 17:46:23 +0000 (17:46 +0000)]
Change test harness so that it uses the main magic file, rather than
per-test magic.
It would be easy to reintroduce per-test magic, but neither the one
(!) existing test, nor the one being added, needs it.
Add a new test for a bug recently fixed in EPUB magic. Let's have more
tests!
Making this change uncovered a failure: the magic for GEDCOM files has
been changed in the main magic files, and doesn't work any more. This
is bug #315. The magic should work as-is, but since the real fix is
non-obvious, change it back.
Update the gedcom.result, since the output has also changed in the
main magic files.
Reuben Thomas [Mon, 6 Jan 2014 13:43:35 +0000 (13:43 +0000)]
Remove inconsistency.
Reuben Thomas [Mon, 6 Jan 2014 13:41:18 +0000 (13:41 +0000)]
Fix cdf_app_to_mime, broken in previous commit: actually return the return value
Reuben Thomas [Mon, 6 Jan 2014 13:27:05 +0000 (13:27 +0000)]
Fix bad merge of duplicate EPUB magic; fixes Debian bug #722441
Christos Zoulas [Mon, 6 Jan 2014 02:25:32 +0000 (02:25 +0000)]
use fmtcheck if available.
Christos Zoulas [Sun, 5 Jan 2014 15:55:21 +0000 (15:55 +0000)]
Add lz4 support (Ville Skytta)
Christos Zoulas [Tue, 31 Dec 2013 19:18:02 +0000 (19:18 +0000)]
more improvements from Ralf Brown
Christos Zoulas [Tue, 31 Dec 2013 02:09:30 +0000 (02:09 +0000)]
Enable a stricter magic and explain the palmos header from Ralf Brown
Christos Zoulas [Sat, 21 Dec 2013 14:29:45 +0000 (14:29 +0000)]
add file extensions
Christos Zoulas [Sat, 21 Dec 2013 14:28:15 +0000 (14:28 +0000)]
fix wrong offset.
Christos Zoulas [Sat, 21 Dec 2013 14:27:24 +0000 (14:27 +0000)]
new magic
Christos Zoulas [Wed, 11 Dec 2013 17:55:00 +0000 (17:55 +0000)]
Bump the strength of gzip and reorder printing of attributes (Thomas Ledoux)
Christos Zoulas [Wed, 11 Dec 2013 14:14:20 +0000 (14:14 +0000)]
limit the depth of recursion in regex because it breaks under Solaris
Christos Zoulas [Mon, 9 Dec 2013 20:31:53 +0000 (20:31 +0000)]
better RRD detection (Christoph Biedl)
Christos Zoulas [Sun, 8 Dec 2013 23:33:18 +0000 (23:33 +0000)]
PR/304: Use a regex because people install perl in non-standard places
Christos Zoulas [Thu, 5 Dec 2013 17:02:34 +0000 (17:02 +0000)]
locale and strcasestr changes
Christos Zoulas [Mon, 2 Dec 2013 13:32:26 +0000 (13:32 +0000)]
Add GVOX audio from Hector Lahoz
Christos Zoulas [Sun, 1 Dec 2013 19:22:44 +0000 (19:22 +0000)]
Mention magic always left loaded
Christos Zoulas [Sun, 1 Dec 2013 19:19:01 +0000 (19:19 +0000)]
Welcome to 5.16
Christos Zoulas [Sun, 1 Dec 2013 18:01:07 +0000 (18:01 +0000)]
put back missing space.
Christos Zoulas [Fri, 29 Nov 2013 15:42:51 +0000 (15:42 +0000)]
put back filenames in error messages for the benefit of libmagic users.
file(1) itself, prints the filename at the beginning of the line so this
is duplicated information.
Christos Zoulas [Wed, 20 Nov 2013 00:00:14 +0000 (00:00 +0000)]
PR/297: Better RRD detection
Christos Zoulas [Tue, 19 Nov 2013 23:58:17 +0000 (23:58 +0000)]
PR/298: Add CDR6 for Corel Draw 6.
Christos Zoulas [Tue, 19 Nov 2013 23:56:04 +0000 (23:56 +0000)]
PR/296: Add more BMP images
Christos Zoulas [Tue, 19 Nov 2013 23:54:05 +0000 (23:54 +0000)]
PR/295: Add EWF file format
Christos Zoulas [Tue, 19 Nov 2013 23:49:44 +0000 (23:49 +0000)]
PR/294: Fix file [--special-files]|[--mime-encoding] <one-byte-file>|<empty-file>
Christos Zoulas [Tue, 19 Nov 2013 23:18:15 +0000 (23:18 +0000)]
PR/293: Christian Hesse: Correct linux offset computation.
Christos Zoulas [Tue, 19 Nov 2013 23:15:13 +0000 (23:15 +0000)]
PR/290: Rewrite xilinx to use pascal strings instead of hard-coded constants.
Christos Zoulas [Tue, 19 Nov 2013 21:01:12 +0000 (21:01 +0000)]
PR/289: Leave the database loaded in case of list, check, compile.
Christos Zoulas [Tue, 19 Nov 2013 20:45:50 +0000 (20:45 +0000)]
PR/286: Default encoding is binary.
Christos Zoulas [Tue, 19 Nov 2013 20:38:57 +0000 (20:38 +0000)]
PR/287: Add another lzma case; there is no reliable way to check the format.
Christos Zoulas [Tue, 19 Nov 2013 18:47:58 +0000 (18:47 +0000)]
PR/299: New fersion for SPSS.
Christos Zoulas [Mon, 18 Nov 2013 17:54:58 +0000 (17:54 +0000)]
don't write a char to a pointer.
Christos Zoulas [Fri, 8 Nov 2013 01:24:22 +0000 (01:24 +0000)]
add the no encryption entry.
Christos Zoulas [Wed, 6 Nov 2013 19:38:53 +0000 (19:38 +0000)]
exit code fix
Christos Zoulas [Wed, 6 Nov 2013 19:33:31 +0000 (19:33 +0000)]
- since the name is printed alread in the message as <name>:<message> don't
repeat the name in the message
- if we could not stat, don't try to provide unreadable info
- if we could not stat, it is not an error, keep going.
Christos Zoulas [Tue, 5 Nov 2013 15:44:01 +0000 (15:44 +0000)]
- split netbsd and freebsd version printing into separate functions
- don't let the NetBSD pax note end the search for notes
- add 2 more NetBSD notes
Christos Zoulas [Tue, 5 Nov 2013 14:00:25 +0000 (14:00 +0000)]
add android backup
Christos Zoulas [Tue, 29 Oct 2013 18:30:45 +0000 (18:30 +0000)]
move to more standard names.
Christos Zoulas [Tue, 29 Oct 2013 18:23:41 +0000 (18:23 +0000)]
add cdf improvements
Christos Zoulas [Tue, 29 Oct 2013 18:22:45 +0000 (18:22 +0000)]
Add microsoft installer files, improve the logic for handing mime and non-mime
on cdf. Parts from Guy Helmer
Christos Zoulas [Thu, 24 Oct 2013 15:51:07 +0000 (15:51 +0000)]
fix wrong offset for CDROM signature. (Anders Thulin)
Christos Zoulas [Sun, 20 Oct 2013 17:41:05 +0000 (17:41 +0000)]
add bcache magic (Gabriel de Perthuis)
Christos Zoulas [Fri, 27 Sep 2013 23:30:39 +0000 (23:30 +0000)]
PR/285: Fix netpbm P3 magic
Christos Zoulas [Tue, 24 Sep 2013 20:22:03 +0000 (20:22 +0000)]
PR/284: ius: Merge and add various android magic entries
Christos Zoulas [Tue, 24 Sep 2013 15:21:44 +0000 (15:21 +0000)]
welcome to file-5.15
Christos Zoulas [Tue, 24 Sep 2013 14:52:26 +0000 (14:52 +0000)]
try to avoid misidentifying boot records from partition entry records
(Joerg Jenderek)
Christos Zoulas [Mon, 23 Sep 2013 14:33:58 +0000 (14:33 +0000)]
recognize custom user headers up to 4K for HDF files. (Tobias Richter)
Christos Zoulas [Fri, 20 Sep 2013 00:39:43 +0000 (00:39 +0000)]
add PaX note
Christos Zoulas [Thu, 19 Sep 2013 19:47:12 +0000 (19:47 +0000)]
move magic so that it works again. from joerg jenderek
Christos Zoulas [Tue, 17 Sep 2013 17:39:16 +0000 (17:39 +0000)]
add \\begin as a LaTeX keyword.
Christos Zoulas [Tue, 17 Sep 2013 17:33:36 +0000 (17:33 +0000)]
PR/281: Rainer Mueller: Fix DLE (020) meant to be space.
Christos Zoulas [Tue, 17 Sep 2013 15:51:22 +0000 (15:51 +0000)]
PR/283: Tomas Siegl: Avoid SEGV on oomem.
Christos Zoulas [Mon, 16 Sep 2013 15:12:42 +0000 (15:12 +0000)]
Try to make the magic more selective to avoid spurious matches. (Joerg Jenderek)
Christos Zoulas [Thu, 12 Sep 2013 16:23:56 +0000 (16:23 +0000)]
PR/280: Add ECDSA and PEM EC private keys.
Christos Zoulas [Thu, 12 Sep 2013 16:21:52 +0000 (16:21 +0000)]
PR/269: Note that the MBR 0xAA55 signature that originated in 1983 with
IBM PC DOS 2.0, is no more x86-specific (arm systems use it too). So call
the magic DOS/MBR as opposed to x86.
Christos Zoulas [Thu, 12 Sep 2013 16:08:07 +0000 (16:08 +0000)]
PR/268: Account for different placement of [Content_types].xml by libreoffice.
Christos Zoulas [Thu, 12 Sep 2013 15:57:32 +0000 (15:57 +0000)]
call file_reset() so that we don't accumulate errors from before.
Christos Zoulas [Sat, 7 Sep 2013 08:59:37 +0000 (08:59 +0000)]
more info about ctf.
Christos Zoulas [Tue, 3 Sep 2013 10:12:48 +0000 (10:12 +0000)]
PR/278: Add PCO B16 images
Christos Zoulas [Tue, 3 Sep 2013 08:57:10 +0000 (08:57 +0000)]
mention recent changes
Christos Zoulas [Tue, 3 Sep 2013 08:54:47 +0000 (08:54 +0000)]
If we did not open the file, don't close it and try to restore its position.
Christos Zoulas [Tue, 3 Sep 2013 08:31:48 +0000 (08:31 +0000)]
If we have an error, don't append anything to the buffer.