]> granicus.if.org Git - file/log
file
8 years agonew files, fix magic
Christos Zoulas [Mon, 13 Jun 2016 19:09:31 +0000 (19:09 +0000)]
new files, fix magic

8 years agofix memory leak on error (delphij)
Christos Zoulas [Mon, 13 Jun 2016 12:02:06 +0000 (12:02 +0000)]
fix memory leak on error (delphij)

8 years agoadd new retro-computing magic
Christos Zoulas [Sun, 12 Jun 2016 17:11:33 +0000 (17:11 +0000)]
add new retro-computing magic

8 years agoupdate
Christos Zoulas [Sun, 12 Jun 2016 17:05:39 +0000 (17:05 +0000)]
update

8 years agoPR/557: David Korth:
Christos Zoulas [Sun, 12 Jun 2016 15:20:37 +0000 (15:20 +0000)]
PR/557: David Korth:
Here's a few more magic definitions for Nintendo 3DS and GameCube.

Nintendo 3DS Game Card images: Show the cartridge revision, not the NCCH
revision.
Nintendo 3DS: Indicate if a CFA archive is a System Update and what
version the update contains.
Nintendo 3DS: Decode the version numbers from the Title ID format.
Detect Nintendo Famicom Disk System disk images.
Detect Nintendo GameCube embedded disc images. (TGC files)

8 years agonew magic from Stefan Haubenthal
Christos Zoulas [Sat, 11 Jun 2016 17:01:51 +0000 (17:01 +0000)]
new magic from Stefan Haubenthal

8 years agoFix windows icons and cursors (Joerg Jenderek)
Christos Zoulas [Sat, 11 Jun 2016 00:52:14 +0000 (00:52 +0000)]
Fix windows icons and cursors (Joerg Jenderek)

8 years agoAdd regression test for issue 359
Reuben Thomas [Tue, 7 Jun 2016 23:36:26 +0000 (23:36 +0000)]
Add regression test for issue 359

8 years agoAdd local autoconf cache to .cvsignore
Reuben Thomas [Tue, 7 Jun 2016 23:32:16 +0000 (23:32 +0000)]
Add local autoconf cache to .cvsignore

8 years agoperl: re-strengthen hash-bang patterns
Reuben Thomas [Tue, 7 Jun 2016 23:28:37 +0000 (23:28 +0000)]
perl: re-strengthen hash-bang patterns

They were being out-matched by the catch-all varied.script patterns, and
thus losing their MIME types.

hash-bang patterns have to be at the very start of the file, so donâ\80\99t need
the leeway that the other patterns have been given.

8 years agoFix issue #330: tarball contains surplus magic.h
Reuben Thomas [Tue, 7 Jun 2016 23:08:19 +0000 (23:08 +0000)]
Fix issue #330: tarball contains surplus magic.h

8 years agoDocument --exclude name 'text' (synonym for 'ascii')
Reuben Thomas [Tue, 7 Jun 2016 22:09:20 +0000 (22:09 +0000)]
Document --exclude name 'text' (synonym for 'ascii')

8 years agoPR/549: Georg Sauthoff: Add coverage data magic
Christos Zoulas [Sun, 5 Jun 2016 00:26:32 +0000 (00:26 +0000)]
PR/549: Georg Sauthoff: Add coverage data magic

8 years agoPR/549: Georg Sauthoff: Add coverage magic
Christos Zoulas [Sun, 5 Jun 2016 00:25:58 +0000 (00:25 +0000)]
PR/549: Georg Sauthoff: Add coverage magic

8 years agoPR/546: BER magic from Georg Sauthoff
Christos Zoulas [Sun, 5 Jun 2016 00:21:30 +0000 (00:21 +0000)]
PR/546: BER magic from Georg Sauthoff

8 years agoUpdate from Ed Schouten (kill old OSABI stuff add new hosts)
Christos Zoulas [Thu, 2 Jun 2016 12:36:30 +0000 (12:36 +0000)]
Update from Ed Schouten (kill old OSABI stuff add new hosts)

8 years agoPR/551: If we found no sections, return.
Christos Zoulas [Wed, 1 Jun 2016 22:25:25 +0000 (22:25 +0000)]
PR/551: If we found no sections, return.

8 years agoPR/553: Use proper sector size for SAT.
Christos Zoulas [Wed, 1 Jun 2016 22:21:14 +0000 (22:21 +0000)]
PR/553: Use proper sector size for SAT.

8 years agoPR/555: Avoid overflow for offset > nbytes (programming error caused
Christos Zoulas [Wed, 1 Jun 2016 22:04:10 +0000 (22:04 +0000)]
PR/555: Avoid overflow for offset > nbytes (programming error caused
by PR/550).

8 years agoPR/550: Segv on DER parsing:
Christos Zoulas [Wed, 1 Jun 2016 22:01:15 +0000 (22:01 +0000)]
PR/550: Segv on DER parsing:
- use the correct variable for length
- set offset to 0 on failure.

8 years agoreduce strength of class so that it does not beat php
Christos Zoulas [Sat, 21 May 2016 14:28:27 +0000 (14:28 +0000)]
reduce strength of class so that it does not beat php

8 years agoPR/547: After compilation is done we don't need the data of the map anymore.
Christos Zoulas [Tue, 17 May 2016 21:43:07 +0000 (21:43 +0000)]
PR/547: After compilation is done we don't need the data of the map anymore.

8 years agoPR/547: Close on exit to shut-up asan
Christos Zoulas [Tue, 17 May 2016 15:52:45 +0000 (15:52 +0000)]
PR/547: Close on exit to shut-up asan

8 years agonew from Mike Frysigner
Christos Zoulas [Fri, 13 May 2016 23:03:46 +0000 (23:03 +0000)]
new from Mike Frysigner

8 years agoFrom Mike Frysinger:
Christos Zoulas [Fri, 13 May 2016 23:02:28 +0000 (23:02 +0000)]
From Mike Frysinger:
The current configure logic will autodetect & use zlib if it's found.
If the user wants to disable zlib support, they have no way to do so
easily.  Conversely, if they want to make sure zlib is always included,
there's no way to do so.  Add a configure flag for both.

8 years agowelcome to 5.27 FILE5_27
Christos Zoulas [Fri, 13 May 2016 16:00:28 +0000 (16:00 +0000)]
welcome to 5.27

8 years agoAllow this to be found later in the file
Christos Zoulas [Wed, 11 May 2016 15:51:57 +0000 (15:51 +0000)]
Allow this to be found later in the file

8 years agobetter errno setting and error checking.
Christos Zoulas [Fri, 6 May 2016 15:17:10 +0000 (15:17 +0000)]
better errno setting and error checking.

8 years agoadd IOS app from Guy Helmer
Christos Zoulas [Thu, 5 May 2016 17:07:40 +0000 (17:07 +0000)]
add IOS app from Guy Helmer

8 years agoAllow extension and apple magic to go further in ascmagic so that search
Christos Zoulas [Tue, 3 May 2016 16:10:37 +0000 (16:10 +0000)]
Allow extension and apple magic to go further in ascmagic so that search
magic gets a chance to do the binary tests.

8 years agopointless to try to deal with -1
Christos Zoulas [Tue, 3 May 2016 16:09:38 +0000 (16:09 +0000)]
pointless to try to deal with -1

8 years agomake compile
Christos Zoulas [Tue, 3 May 2016 16:08:49 +0000 (16:08 +0000)]
make compile

8 years agotravis: add osx platform test
Elan Ruusamäe [Tue, 26 Apr 2016 16:24:43 +0000 (16:24 +0000)]
travis: add osx platform test

8 years agoDon't free uninitialized pointer on error.
Christos Zoulas [Tue, 26 Apr 2016 12:37:34 +0000 (12:37 +0000)]
Don't free uninitialized pointer on error.

8 years agoBe more picky about cdf sector handling.
Christos Zoulas [Fri, 22 Apr 2016 16:11:49 +0000 (16:11 +0000)]
Be more picky about cdf sector handling.

8 years agouse the proper sector size when chasing the chain
Christos Zoulas [Fri, 22 Apr 2016 16:00:29 +0000 (16:00 +0000)]
use the proper sector size when chasing the chain

8 years agoDon't make exceeding magic offsets an error; just fail this magic entry test.
Christos Zoulas [Thu, 21 Apr 2016 15:23:31 +0000 (15:23 +0000)]
Don't make exceeding magic offsets an error; just fail this magic entry test.
Consider truncated files...

8 years agogrr, people have ancient compilers still.
Christos Zoulas [Thu, 21 Apr 2016 14:27:37 +0000 (14:27 +0000)]
grr, people have ancient compilers still.

8 years agono need for err.h unless we are debugging.
Christos Zoulas [Thu, 21 Apr 2016 14:26:03 +0000 (14:26 +0000)]
no need for err.h unless we are debugging.

8 years agomention the bug here, and fix a debugging printf.
Christos Zoulas [Wed, 20 Apr 2016 00:00:26 +0000 (00:00 +0000)]
mention the bug here, and fix a debugging printf.

8 years agoRestore part of previous logic, that breaks out of the uncompress loop
Christos Zoulas [Tue, 19 Apr 2016 23:36:36 +0000 (23:36 +0000)]
Restore part of previous logic, that breaks out of the uncompress loop
if there was a compression match error or not. Separate the return values
to avoid confusion.

8 years agoRevert: Don't close stdin...
Christos Zoulas [Tue, 19 Apr 2016 20:51:54 +0000 (20:51 +0000)]
Revert: Don't close stdin...

8 years agoStrengthen the magic of relocatable microsoft objects to avoid spurious
Christos Zoulas [Tue, 19 Apr 2016 18:14:19 +0000 (18:14 +0000)]
Strengthen the magic of relocatable microsoft objects to avoid spurious
matches (Joerg Jenderek)

8 years agoFix wrong level
Christos Zoulas [Tue, 19 Apr 2016 13:40:02 +0000 (13:40 +0000)]
Fix wrong level

8 years agoChanges since release.
Christos Zoulas [Tue, 19 Apr 2016 13:39:45 +0000 (13:39 +0000)]
Changes since release.

8 years agoFix compression code (Werner Fink)
Christos Zoulas [Tue, 19 Apr 2016 13:39:19 +0000 (13:39 +0000)]
Fix compression code (Werner Fink)

8 years agoAdd missing continuation
Christos Zoulas [Mon, 18 Apr 2016 20:22:10 +0000 (20:22 +0000)]
Add missing continuation

8 years agoRun tests in UTC
Christos Zoulas [Mon, 18 Apr 2016 20:20:31 +0000 (20:20 +0000)]
Run tests in UTC

8 years agoRestore test back to its previous value.
Christos Zoulas [Mon, 18 Apr 2016 18:18:52 +0000 (18:18 +0000)]
Restore test back to its previous value.

8 years agoexit on error.
Christos Zoulas [Mon, 18 Apr 2016 18:16:45 +0000 (18:16 +0000)]
exit on error.

8 years agoDowngrade DER comparison and offset lookup failures to be handled as match
Christos Zoulas [Mon, 18 Apr 2016 15:10:34 +0000 (15:10 +0000)]
Downgrade DER comparison and offset lookup failures to be handled as match
failures.

8 years agoonly define strings for debugging
Christos Zoulas [Sun, 17 Apr 2016 19:44:45 +0000 (19:44 +0000)]
only define strings for debugging

8 years agoFix typo
Christos Zoulas [Sun, 17 Apr 2016 19:35:27 +0000 (19:35 +0000)]
Fix typo

8 years agoadd missing define.
Christos Zoulas [Sun, 17 Apr 2016 13:56:03 +0000 (13:56 +0000)]
add missing define.

8 years agoNeed der.h FILE5_26
Christos Zoulas [Sat, 16 Apr 2016 22:45:57 +0000 (22:45 +0000)]
Need der.h

8 years agothis is an error now
Christos Zoulas [Sat, 16 Apr 2016 22:44:43 +0000 (22:44 +0000)]
this is an error now

8 years agoupdate version and source files list
Christos Zoulas [Sat, 16 Apr 2016 22:40:54 +0000 (22:40 +0000)]
update version and source files list

8 years agonew sdb (microsoft jet database) magic from joerg jenderek
Christos Zoulas [Thu, 14 Apr 2016 20:34:28 +0000 (20:34 +0000)]
new sdb (microsoft jet database) magic from joerg jenderek

8 years agoAllow altering how many bytes to read from analyzed files from the command
Christos Zoulas [Thu, 31 Mar 2016 17:51:12 +0000 (17:51 +0000)]
Allow altering how many bytes to read from analyzed files from the command
line. Leave the default the same (1M).

8 years agoPR/532: More console magic from David Korth.
Christos Zoulas [Wed, 23 Mar 2016 15:29:20 +0000 (15:29 +0000)]
PR/532: More console magic from David Korth.

8 years agoRecognize GRUB2 fonts (Joerg Jenderek)
Christos Zoulas [Tue, 22 Mar 2016 22:27:47 +0000 (22:27 +0000)]
Recognize GRUB2 fonts (Joerg Jenderek)

8 years ago- more der offset checks.
Christos Zoulas [Mon, 21 Mar 2016 23:04:40 +0000 (23:04 +0000)]
- more der offset checks.
- add offset checks in moffset so that they are caught sooner.

8 years agoAdd bounds checks to DER code offset computations.
Christos Zoulas [Mon, 21 Mar 2016 17:41:14 +0000 (17:41 +0000)]
Add bounds checks to DER code offset computations.

8 years agochange indirect recursion limit to a use count and bump it from 15 to 50
Christos Zoulas [Mon, 21 Mar 2016 15:56:53 +0000 (15:56 +0000)]
change indirect recursion limit to a use count and bump it from 15 to 50
to prevent abuse.

8 years agoJoerg Jenderek: Be more specific about compiled terminfo files so we don't
Christos Zoulas [Thu, 17 Mar 2016 21:02:29 +0000 (21:02 +0000)]
Joerg Jenderek: Be more specific about compiled terminfo files so we don't
mix them up with targa files.

8 years agoPR/530: Console magic improvements from David Korth
Christos Zoulas [Thu, 17 Mar 2016 20:53:09 +0000 (20:53 +0000)]
PR/530: Console magic improvements from David Korth

8 years agoMajor improvements for targa images from Joerg Jenderek
Christos Zoulas [Wed, 16 Mar 2016 14:41:39 +0000 (14:41 +0000)]
Major improvements for targa images from Joerg Jenderek

8 years agodocument -00
Christos Zoulas [Mon, 14 Mar 2016 02:39:46 +0000 (02:39 +0000)]
document -00

8 years agoPR/528: Make -00 print name\0description\0
Christos Zoulas [Mon, 14 Mar 2016 02:30:22 +0000 (02:30 +0000)]
PR/528: Make -00 print name\0description\0

8 years agoPR/527: Ian D. Scott: Add arbfeld image format
Christos Zoulas [Fri, 11 Mar 2016 18:10:06 +0000 (18:10 +0000)]
PR/527: Ian D. Scott: Add arbfeld image format

8 years agoAdd more for excel
Christos Zoulas [Thu, 3 Mar 2016 22:20:03 +0000 (22:20 +0000)]
Add more for excel
s/Office Word/Word/ for consistency.

8 years agoPR/521: Add WIM "pipable" signature provided by wimlib
Christos Zoulas [Thu, 3 Mar 2016 18:58:14 +0000 (18:58 +0000)]
PR/521: Add WIM "pipable" signature provided by wimlib

8 years agoPR/525: Fix ID3 indirect+offset handling.
Christos Zoulas [Wed, 2 Mar 2016 18:27:53 +0000 (18:27 +0000)]
PR/525: Fix ID3 indirect+offset handling.

8 years agoAdd polyml.
Christos Zoulas [Fri, 26 Feb 2016 15:52:45 +0000 (15:52 +0000)]
Add polyml.

8 years agoSplit magic to make it more readable.
Christos Zoulas [Tue, 23 Feb 2016 12:35:20 +0000 (12:35 +0000)]
Split magic to make it more readable.

8 years agoComment out non-working entry.
Christos Zoulas [Sun, 14 Feb 2016 15:53:53 +0000 (15:53 +0000)]
Comment out non-working entry.

8 years agotypo
Christos Zoulas [Sun, 14 Feb 2016 15:48:18 +0000 (15:48 +0000)]
typo

8 years agoAdd support for windows minidump files (Joerg Jenderek)
Christos Zoulas [Sun, 14 Feb 2016 15:46:52 +0000 (15:46 +0000)]
Add support for windows minidump files (Joerg Jenderek)

8 years agoPR/519: Joshua C. Randall: Add bioinfomatics formats
Christos Zoulas [Sun, 14 Feb 2016 15:32:22 +0000 (15:32 +0000)]
PR/519: Joshua C. Randall: Add bioinfomatics formats

8 years agoPrint leading zeroes in UUID for BTRFS
Christos Zoulas [Sun, 14 Feb 2016 14:38:24 +0000 (14:38 +0000)]
Print leading zeroes in UUID for BTRFS

8 years agoPR/518: Fall back to use setlocale() for the OS's that don't support
Christos Zoulas [Wed, 10 Feb 2016 15:57:40 +0000 (15:57 +0000)]
PR/518: Fall back to use setlocale() for the OS's that don't support
newlocale()/uselocale(). This is necessary because some regex patterns
we use (apple) have non-ascii characters in them.

8 years agoAdd Microfocus cobol stuff from Rob Deutsch
Christos Zoulas [Tue, 9 Feb 2016 01:22:49 +0000 (01:22 +0000)]
Add Microfocus cobol stuff from Rob Deutsch

8 years agoPR/517: reaInc: Add MPCK magic
Christos Zoulas [Mon, 8 Feb 2016 17:30:11 +0000 (17:30 +0000)]
PR/517: reaInc: Add MPCK magic

8 years agoPR/516: Henk: Add WOF2 magic.
Christos Zoulas [Mon, 8 Feb 2016 17:06:40 +0000 (17:06 +0000)]
PR/516: Henk: Add WOF2 magic.

8 years agoadd copyright.
Christos Zoulas [Mon, 8 Feb 2016 13:57:56 +0000 (13:57 +0000)]
add copyright.

8 years agoforgot to add.
Christos Zoulas [Mon, 8 Feb 2016 13:56:39 +0000 (13:56 +0000)]
forgot to add.

8 years agodoesn't matter if it is stdin; if we opened it, we close it.
Christos Zoulas [Mon, 8 Feb 2016 02:20:36 +0000 (02:20 +0000)]
doesn't matter if it is stdin; if we opened it, we close it.

8 years agoPR/514: David Macek: Don't fail to handle uncompress when stdin is closed
Christos Zoulas [Mon, 8 Feb 2016 01:29:49 +0000 (01:29 +0000)]
PR/514: David Macek: Don't fail to handle uncompress when stdin is closed
and 0 holds the descriptor to the input file.

8 years agoPR/485: Use ${FILE_COMPILE} when cross-compiling to test for file version.
Christos Zoulas [Tue, 2 Feb 2016 21:30:47 +0000 (21:30 +0000)]
PR/485: Use ${FILE_COMPILE} when cross-compiling to test for file version.
This might break cross-compiling to a different architecture.

8 years agoPR/477: add pip install.
Christos Zoulas [Tue, 2 Feb 2016 19:07:29 +0000 (19:07 +0000)]
PR/477: add pip install.

8 years agoPR/511: Orestis: Restore python-2 compatibility.
Christos Zoulas [Tue, 2 Feb 2016 19:05:12 +0000 (19:05 +0000)]
PR/511: Orestis: Restore python-2 compatibility.

8 years agoImprove pdb magic from Joerg Jenderek
Christos Zoulas [Tue, 26 Jan 2016 00:03:19 +0000 (00:03 +0000)]
Improve pdb magic from Joerg Jenderek

8 years agoPR/512: Jason Hood: Add support for windows I{32,64} formats to fmtcheck.
Christos Zoulas [Wed, 20 Jan 2016 15:41:31 +0000 (15:41 +0000)]
PR/512: Jason Hood: Add support for windows I{32,64} formats to fmtcheck.

8 years agoImprove GEM image magic (Joerg Jenderek)
Christos Zoulas [Tue, 19 Jan 2016 16:35:14 +0000 (16:35 +0000)]
Improve GEM image magic (Joerg Jenderek)

8 years agomention DER magic
Christos Zoulas [Tue, 19 Jan 2016 15:18:38 +0000 (15:18 +0000)]
mention DER magic

8 years agoAfter we map and byteswap, mprotect(2) the magic entries read-only
Christos Zoulas [Tue, 19 Jan 2016 15:18:02 +0000 (15:18 +0000)]
After we map and byteswap, mprotect(2) the magic entries read-only
to prevent bugs.

8 years agomore der fixes.
Christos Zoulas [Tue, 19 Jan 2016 15:09:28 +0000 (15:09 +0000)]
more der fixes.

8 years agomissing break for DER weight
Christos Zoulas [Tue, 19 Jan 2016 15:09:21 +0000 (15:09 +0000)]
missing break for DER weight

8 years agodebug print for DER
Christos Zoulas [Tue, 19 Jan 2016 15:09:03 +0000 (15:09 +0000)]
debug print for DER

8 years agoAdd special printer for DER that does not abuse magic entries.
Christos Zoulas [Tue, 19 Jan 2016 15:08:50 +0000 (15:08 +0000)]
Add special printer for DER that does not abuse magic entries.