]>
granicus.if.org Git - file/log
Christos Zoulas [Tue, 13 Sep 2016 13:14:44 +0000 (13:14 +0000)]
fix wrong variable use (Jonas Wagner)
Christos Zoulas [Sun, 11 Sep 2016 14:49:54 +0000 (14:49 +0000)]
PR/571: Mark Anderson: Remove weak magic
Christos Zoulas [Sun, 11 Sep 2016 13:56:42 +0000 (13:56 +0000)]
PR/570: Chris Hiestand: Add magic for svg files without an xml header.
Christos Zoulas [Sun, 11 Sep 2016 13:53:02 +0000 (13:53 +0000)]
PR/569: Shi Yin: Fix memory leak.
Christos Zoulas [Mon, 5 Sep 2016 08:34:25 +0000 (08:34 +0000)]
Fix cdrom dup magic printing (Joerg Jenderek)
Christos Zoulas [Wed, 17 Aug 2016 09:45:13 +0000 (09:45 +0000)]
apple partition improvements, Joerg Jenderek
Christos Zoulas [Tue, 2 Aug 2016 16:53:28 +0000 (16:53 +0000)]
add algol68.
Reuben Thomas [Wed, 27 Jul 2016 09:46:29 +0000 (09:46 +0000)]
ruby: make hash-bang magic take precedence over text matches
In particular, precedence over incomplete matches that produce no text
Reuben Thomas [Wed, 27 Jul 2016 09:42:49 +0000 (09:42 +0000)]
magic.man: punctuation fixes
Reuben Thomas [Wed, 27 Jul 2016 09:42:16 +0000 (09:42 +0000)]
Add Python 3.5 support; improve explanation of magic
Christos Zoulas [Wed, 20 Jul 2016 11:28:40 +0000 (11:28 +0000)]
Use signed offsets to reduce false positives (Christoph Biedl)
And here is your reward: Reduce the number of false-positive
detections of "DOS executable (COM)" big time, especially for small
files. In my case, modulo further checks, the number of files reported
that way went down from some 2500 to 35, with perhaps 6
false-positives.
The trick: The target of the JMP instruction at offset 0 must be valid
and sound: For 0xeb (8bit offset) the offset must be positive as
negative offsets would lead into the program segment prefix (PSP), and
the file must be long enough that jump target actually exists. Similar
for 0xe9 (16bit offset). Here negative offsets (wrapped around at
16bit) are acceptable as long as they don't lead into the PSP. Such
files do exist. And that's where I needed a signed indirect offset.
Christos Zoulas [Wed, 20 Jul 2016 11:27:08 +0000 (11:27 +0000)]
Add support for signed indirect offsets.
Christos Zoulas [Mon, 18 Jul 2016 19:23:38 +0000 (19:23 +0000)]
AppleWorks/ClarisWorks files
Christos Zoulas [Mon, 18 Jul 2016 17:44:49 +0000 (17:44 +0000)]
merge vim/nano entries (Christoph Biedl)
Christos Zoulas [Mon, 18 Jul 2016 11:55:11 +0000 (11:55 +0000)]
add nano lock file from Christoph Biedl
Christos Zoulas [Mon, 18 Jul 2016 11:43:05 +0000 (11:43 +0000)]
cat /dev/null | file - should print empty (Christoph Biedl)
Christos Zoulas [Sat, 16 Jul 2016 22:17:04 +0000 (22:17 +0000)]
improve gpg magic, from Christoph Biedl.
Christos Zoulas [Fri, 15 Jul 2016 00:56:04 +0000 (00:56 +0000)]
we only need mman for testing.
Christos Zoulas [Thu, 14 Jul 2016 19:01:12 +0000 (19:01 +0000)]
strengthen magic. Christoph Biedl
Christos Zoulas [Thu, 14 Jul 2016 17:37:12 +0000 (17:37 +0000)]
Better Lotus 1-2-3 magic from Joerg Jenderek
Christos Zoulas [Thu, 14 Jul 2016 17:34:27 +0000 (17:34 +0000)]
PR/564: Fix spacing/newline
Christos Zoulas [Thu, 14 Jul 2016 15:26:47 +0000 (15:26 +0000)]
new psl magic
Christos Zoulas [Sun, 10 Jul 2016 12:44:24 +0000 (12:44 +0000)]
add compiled ksh
Christos Zoulas [Tue, 5 Jul 2016 19:49:59 +0000 (19:49 +0000)]
PR/563: Support H2 databases (from Ryo ONODERA)
Christos Zoulas [Tue, 5 Jul 2016 19:21:04 +0000 (19:21 +0000)]
string bump.
Christos Zoulas [Tue, 5 Jul 2016 19:20:19 +0000 (19:20 +0000)]
Bumo string size to 96; don't try to parse a compiled file as a regular magic
file.
Christos Zoulas [Tue, 5 Jul 2016 19:12:21 +0000 (19:12 +0000)]
Debian#799352 gives an example where text gets mis-detected as PNM:
$ echo P1788 | file -
/dev/stdin: , bitmap, ASCII text
From Christoph Biedl
Christos Zoulas [Tue, 5 Jul 2016 12:40:09 +0000 (12:40 +0000)]
new magic for lotus 1-2-3 file from Joerg Jenderek disambiguation them from
windows cursor files.
Christos Zoulas [Mon, 4 Jul 2016 15:20:01 +0000 (15:20 +0000)]
mysql magic from Russell Coker via Christoph Biedl
Christos Zoulas [Mon, 4 Jul 2016 15:18:23 +0000 (15:18 +0000)]
Add JPEG-XR (Christoph Biedl)
Christos Zoulas [Sun, 3 Jul 2016 14:13:11 +0000 (14:13 +0000)]
more magic from Christoph Biedl
Christos Zoulas [Fri, 1 Jul 2016 23:31:13 +0000 (23:31 +0000)]
more magic from Stefan Haubenthal
Christos Zoulas [Fri, 1 Jul 2016 23:27:28 +0000 (23:27 +0000)]
Improve Embedded OpenType (Christoph Bield)
Christos Zoulas [Thu, 30 Jun 2016 14:51:52 +0000 (14:51 +0000)]
oops, should be part of 5.28..
Christos Zoulas [Thu, 30 Jun 2016 14:50:55 +0000 (14:50 +0000)]
document -d (Christoph Biedl)
Christos Zoulas [Tue, 28 Jun 2016 17:10:22 +0000 (17:10 +0000)]
PR/562: Reiner Herrmann: Avoid double encoding with python3
Christos Zoulas [Tue, 28 Jun 2016 16:38:26 +0000 (16:38 +0000)]
Don't copy NULL (Igor Gnatenko)
Kimmo Suominen [Tue, 28 Jun 2016 06:34:34 +0000 (06:34 +0000)]
Send notifications to the file-tests mailing list.
Christos Zoulas [Mon, 27 Jun 2016 20:56:25 +0000 (20:56 +0000)]
Reset rv, like it was done before.
Christos Zoulas [Mon, 27 Jun 2016 19:07:20 +0000 (19:07 +0000)]
Reduce the number of X's to appease linitian (Christoph Biedl)
Christos Zoulas [Mon, 20 Jun 2016 16:13:46 +0000 (16:13 +0000)]
PR/558: Add missing parenthesis
Christos Zoulas [Mon, 20 Jun 2016 16:13:14 +0000 (16:13 +0000)]
remove trailing whitespace
Christos Zoulas [Mon, 20 Jun 2016 16:08:14 +0000 (16:08 +0000)]
PR/559: It is not an error if the short stream is missing.
Christos Zoulas [Thu, 16 Jun 2016 11:37:55 +0000 (11:37 +0000)]
Fix memory leak (Giovanni Bechis)
Christos Zoulas [Tue, 14 Jun 2016 00:22:36 +0000 (00:22 +0000)]
PR/556: Fix separators on annotations
Christos Zoulas [Mon, 13 Jun 2016 23:43:29 +0000 (23:43 +0000)]
release 5.28
Christos Zoulas [Mon, 13 Jun 2016 19:09:31 +0000 (19:09 +0000)]
new files, fix magic
Christos Zoulas [Mon, 13 Jun 2016 12:02:06 +0000 (12:02 +0000)]
fix memory leak on error (delphij)
Christos Zoulas [Sun, 12 Jun 2016 17:11:33 +0000 (17:11 +0000)]
add new retro-computing magic
Christos Zoulas [Sun, 12 Jun 2016 17:05:39 +0000 (17:05 +0000)]
update
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)
Christos Zoulas [Sat, 11 Jun 2016 17:01:51 +0000 (17:01 +0000)]
new magic from Stefan Haubenthal
Christos Zoulas [Sat, 11 Jun 2016 00:52:14 +0000 (00:52 +0000)]
Fix windows icons and cursors (Joerg Jenderek)
Reuben Thomas [Tue, 7 Jun 2016 23:36:26 +0000 (23:36 +0000)]
Add regression test for issue 359
Reuben Thomas [Tue, 7 Jun 2016 23:32:16 +0000 (23:32 +0000)]
Add local autoconf cache to .cvsignore
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 \99 t need
the leeway that the other patterns have been given.
Reuben Thomas [Tue, 7 Jun 2016 23:08:19 +0000 (23:08 +0000)]
Fix issue #330: tarball contains surplus magic.h
Reuben Thomas [Tue, 7 Jun 2016 22:09:20 +0000 (22:09 +0000)]
Document --exclude name 'text' (synonym for 'ascii')
Christos Zoulas [Sun, 5 Jun 2016 00:26:32 +0000 (00:26 +0000)]
PR/549: Georg Sauthoff: Add coverage data magic
Christos Zoulas [Sun, 5 Jun 2016 00:25:58 +0000 (00:25 +0000)]
PR/549: Georg Sauthoff: Add coverage magic
Christos Zoulas [Sun, 5 Jun 2016 00:21:30 +0000 (00:21 +0000)]
PR/546: BER magic from Georg Sauthoff
Christos Zoulas [Thu, 2 Jun 2016 12:36:30 +0000 (12:36 +0000)]
Update from Ed Schouten (kill old OSABI stuff add new hosts)
Christos Zoulas [Wed, 1 Jun 2016 22:25:25 +0000 (22:25 +0000)]
PR/551: If we found no sections, return.
Christos Zoulas [Wed, 1 Jun 2016 22:21:14 +0000 (22:21 +0000)]
PR/553: Use proper sector size for SAT.
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).
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.
Christos Zoulas [Sat, 21 May 2016 14:28:27 +0000 (14:28 +0000)]
reduce strength of class so that it does not beat php
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.
Christos Zoulas [Tue, 17 May 2016 15:52:45 +0000 (15:52 +0000)]
PR/547: Close on exit to shut-up asan
Christos Zoulas [Fri, 13 May 2016 23:03:46 +0000 (23:03 +0000)]
new from Mike Frysigner
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.
Christos Zoulas [Fri, 13 May 2016 16:00:28 +0000 (16:00 +0000)]
welcome to 5.27
Christos Zoulas [Wed, 11 May 2016 15:51:57 +0000 (15:51 +0000)]
Allow this to be found later in the file
Christos Zoulas [Fri, 6 May 2016 15:17:10 +0000 (15:17 +0000)]
better errno setting and error checking.
Christos Zoulas [Thu, 5 May 2016 17:07:40 +0000 (17:07 +0000)]
add IOS app from Guy Helmer
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.
Christos Zoulas [Tue, 3 May 2016 16:09:38 +0000 (16:09 +0000)]
pointless to try to deal with -1
Christos Zoulas [Tue, 3 May 2016 16:08:49 +0000 (16:08 +0000)]
make compile
Elan Ruusamäe [Tue, 26 Apr 2016 16:24:43 +0000 (16:24 +0000)]
travis: add osx platform test
Christos Zoulas [Tue, 26 Apr 2016 12:37:34 +0000 (12:37 +0000)]
Don't free uninitialized pointer on error.
Christos Zoulas [Fri, 22 Apr 2016 16:11:49 +0000 (16:11 +0000)]
Be more picky about cdf sector handling.
Christos Zoulas [Fri, 22 Apr 2016 16:00:29 +0000 (16:00 +0000)]
use the proper sector size when chasing the chain
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...
Christos Zoulas [Thu, 21 Apr 2016 14:27:37 +0000 (14:27 +0000)]
grr, people have ancient compilers still.
Christos Zoulas [Thu, 21 Apr 2016 14:26:03 +0000 (14:26 +0000)]
no need for err.h unless we are debugging.
Christos Zoulas [Wed, 20 Apr 2016 00:00:26 +0000 (00:00 +0000)]
mention the bug here, and fix a debugging printf.
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.
Christos Zoulas [Tue, 19 Apr 2016 20:51:54 +0000 (20:51 +0000)]
Revert: Don't close stdin...
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)
Christos Zoulas [Tue, 19 Apr 2016 13:40:02 +0000 (13:40 +0000)]
Fix wrong level
Christos Zoulas [Tue, 19 Apr 2016 13:39:45 +0000 (13:39 +0000)]
Changes since release.
Christos Zoulas [Tue, 19 Apr 2016 13:39:19 +0000 (13:39 +0000)]
Fix compression code (Werner Fink)
Christos Zoulas [Mon, 18 Apr 2016 20:22:10 +0000 (20:22 +0000)]
Add missing continuation
Christos Zoulas [Mon, 18 Apr 2016 20:20:31 +0000 (20:20 +0000)]
Run tests in UTC
Christos Zoulas [Mon, 18 Apr 2016 18:18:52 +0000 (18:18 +0000)]
Restore test back to its previous value.
Christos Zoulas [Mon, 18 Apr 2016 18:16:45 +0000 (18:16 +0000)]
exit on error.
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.
Christos Zoulas [Sun, 17 Apr 2016 19:44:45 +0000 (19:44 +0000)]
only define strings for debugging
Christos Zoulas [Sun, 17 Apr 2016 19:35:27 +0000 (19:35 +0000)]
Fix typo
Christos Zoulas [Sun, 17 Apr 2016 13:56:03 +0000 (13:56 +0000)]
add missing define.